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
Because react-markdown does not parse heading anchors, I'm getting "target source does not exist" errors for my table of contents links and they do not work. I tried a handful of solutions, and there are more listed in the issues, including remark and rehype plugins that are deprecated or involve installing multiple plugins like https://github.com/remarkjs/remark-toc
The text was updated successfully, but these errors were encountered:
I just stumbled across your post while trying to figure out a solution for the same thing. And yes react-markdown does not attach ids to heading tags so you can't link to them without plugins or writing helper functions. I tried various solutions but what helped me the most was rehype-slug
Because react-markdown does not parse heading anchors, I'm getting "target source does not exist" errors for my table of contents links and they do not work. I tried a handful of solutions, and there are more listed in the issues, including remark and rehype plugins that are deprecated or involve installing multiple plugins like https://github.com/remarkjs/remark-toc
The text was updated successfully, but these errors were encountered: