Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: add named anchors to headings #14

Open
guidorice opened this issue Nov 11, 2019 · 1 comment
Open

Request: add named anchors to headings #14

guidorice opened this issue Nov 11, 2019 · 1 comment

Comments

@guidorice
Copy link

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
Copy link
Author

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant