Markdown anchor in dev.to post links properly but element ends up behind the top nav-bar.
Marcos Maia
Posted on July 7, 2019
In markdown, you can use an anchor to link specific sections of your post this naturally also works here in Dev.to posts but when trying to use it the title of the anchored section ends up hidden behind the navbar, just like like this example below:
# This Title will end up hidden behind the nav-bar
From here it's visible.
What's the best solution or workaround for this while writing here at dev.to?
For clarity, the code
for how to replicate it:
to create the link:
[Anchor to section below](#anchorname)
Linked markdown section:
<a name="anchorname"></a> # Normal Markdown Title Here(ends up hidden)
💖 💪 🙅 🚩
Marcos Maia
Posted on July 7, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.