Linking Anchors In Standard MarkDown

claudiawu_

Claudia Wu.

Posted on June 3, 2020

Linking Anchors In Standard MarkDown

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.

πŸ’– πŸ’ͺ πŸ™… 🚩
claudiawu_
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.

Related