Linking Anchors In Standard MarkDown
Claudia Wu.
Posted on June 3, 2020
Dev.to uses standard markdown. Define an anchor you want to link to right before the line you want to refer:
<a name="anchor-name-1"></a>
and place your link:
[link text](#anchor-name-1)
If you want to link to a remote url you can also do this:
[link text](https://[...]#anchor-name-1)
Try it yourself π
[Try it yourself](#try-yourself) π
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
<a name="try-yourself"></a>
# If you got here it worked! π€ͺ
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
If you got here it worked! π€ͺ
.
.
.
.
.
.
.
.
.
.
.
.
Any ideas or feedback?
I would like to know your thoughts and experience related to this topic.
Do you like this article? Follow me on Twitter and donβt miss any future posts.
π πͺ π
π©
Claudia Wu.
Posted on June 3, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.