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

Error in Table of Contents linking (linking to headings/places within a note) #48

Open
Am3ra opened this issue Sep 19, 2020 · 1 comment

Comments

@Am3ra
Copy link

Am3ra commented Sep 19, 2020

Hello all.

I am experiencing an issue where internal links (links pointing to a place internal to the document) are not working. The issue is most clear when displaying a Table of contents such as those created by the Markdown All in One extension.

An example of this, is live on my personal site.

The code example of this is:
[Contents of the Guide](#contents-of-the-guide)
Where ## Contents of the Guide is the heading being linked to.

Any help would be appreciated.

@Am3ra
Copy link
Author

Am3ra commented Sep 19, 2020

Although I haven't looked in depth at the architecture of this repo, I think this discussion on the mdx.js repo might be relevant, and as a result this plugin for rehype.js should probably be used. Going to look into it more.

@mathieudutour mathieudutour transferred this issue from mathieudutour/foam-gatsby-template Sep 21, 2020
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