So we know we can link to any of the headers inside a document. For example:
You have your header: # header to be linked
and depending on the app you use you can use [](#header-to-be-linked) or [](#header to be linked) to connect/jump to it.
I learned that the <a> tag could be used similarly, even for non-header linking:
<a name="link1"></a> can be used as a portal for [](#link1)
You can even wrap the a tag around text, so it expands one’s options on what can be referenced to:
<a name="link1"> some text </a>
I tried this and it works with Typora and Markdown Live Preview, but not on Obsidian and another markdown app I’ve used.
Is anyone aware of this?
For testing
- Hop onto Markdown Live Preview
- type in
[link to last line](#head1234) and …
- on the very last line, just wrap it with
<a name="head1234"></a>. So it will just look like <a name="head1234">May the `Force` be with you</a>