DEV Community

Discussion on: Do you still use IDs for unique elements?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Markdown parser generates id, so that it can used for anchors, I think. With a certain markdown-it plugin, you can make a clickable as well.

Like #unique-id means that you can go to from

<a href="#unique-id">Link</a>

<h2 id="unique-id">Come here</h2>
Enter fullscreen mode Exit fullscreen mode