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
To avoid having to create each slug twice, since that id isn't sent to the renderer, we could keep the ids in an array and export a function that provides them.
Right now, this package allows to generate headings with ids for markdown content and this works great !
Often for long document, you like to generate a table of content, with anchor links to those ids.
The issue is that I have found that hard to generate a TOC data set when using this plugin.
I was thinking about opening a PR to provide such function with the lexer output as argument :
It'd be great to have a way to acess the same
raw
as the one provided with the renderer. Wdyt ?The text was updated successfully, but these errors were encountered: