You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The support of anchors to a particular line is not a widespread thing and I don't really find any Markdown processor which supports this. I think there is nothing wrong with the way the example you provided uses the anchors. If you have a header where you wanna link, then use that.
But also as a developer, I wouldn't create support for that as well, because every time you're making changes to the Markdown file, the lines' numbers are constantly changing with inserting lines into the text, which would make the links which are absolutely pointing at a row useless and wrong without changing them which would be an extra effort to solve.
Just check this repo - which has done a good job in markdown navigation.
https://github.com/sudheerj/vuejs-interview-questions/blob/master/README.md
But the problem is with back to Top. Due to markdown limitation - Anchor is place to header, but ideal place would be pointing to row number.
Is there a way to this?
The text was updated successfully, but these errors were encountered: