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
I was seeking a version of the toc plugin that does not place the generated table of content at the begin of the resulting document but at a choosable position. I thus very much liked the feature that I can put a placeholder [[toc]] into my markdown file at a position of my liking and that this plugin then inserts the TOC there.
But why - for Christ's sake - it the TOC only a linear, non-hierarchical list and not a decent "normal" structured, hierarchical table of content (like the default rehype-toc produces)? Such a simplistic linear list makes this plugin useless for me. What a pity...
The text was updated successfully, but these errors were encountered:
There's nothing stopping you to generate a hierarchical list. You can pass toc(headings) function in the options and generate the TOC howsoever you want.
I was seeking a version of the toc plugin that does not place the generated table of content at the begin of the resulting document but at a choosable position. I thus very much liked the feature that I can put a placeholder
[[toc]]
into my markdown file at a position of my liking and that this plugin then inserts the TOC there.But why - for Christ's sake - it the TOC only a linear, non-hierarchical list and not a decent "normal" structured, hierarchical table of content (like the default rehype-toc produces)? Such a simplistic linear list makes this plugin useless for me. What a pity...
The text was updated successfully, but these errors were encountered: