gatsby-digital-garden
gatsby-digital-garden copied to clipboard
Error in Table of Contents linking (linking to headings/places within a note)
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.
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.