devblog icon indicating copy to clipboard operation
devblog copied to clipboard

Request: add named anchors to headings

Open guidorice opened this issue 6 years ago • 1 comments

I am not sure how difficult this would be, but it would be nice if we could link to headings within the page, like Github Markdown does automatically, for example this anchor link:

https://github.com/RyanFitzgerald/devblog/blob/master/src/pages/welcome-to-the-blog/index.md#sed-ac-orci-a-dolor-venenatis-vulputate

If there is a way to include html markup, that would be a good workaround too. Thanks!

guidorice avatar Nov 11 '19 21:11 guidorice

Oh yes, just adding inline element with an id works:

<div id="xyz"></div>

guidorice avatar Nov 11 '19 22:11 guidorice