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 tend to use an automated table of contents using "Markdown All in One" for VSCode, because it allows me browsing the document from within the document.
The problem is that when it is served with madness the levels are not respected but using the automatic ToC generator from madness it creates the correct levels.
At this point, there is not much I can do about it, other than try to move to a different markdown renderer.
In the past, madness used RDiscount and CommonMarker - both had more issues than redcarpet.
The only markdown renderer for Ruby I haven't tried in madness is Kramdown.
Version 1.2.0 is now released with support for pandoc as an alternative markdown renderer. When using renderer: pandoc in .madness.yml settings, nested lists should render properly.
Note that this requires having pandoc installed, but it should be as simple as brew install pandoc or any other OS package manager (apt / apk etc).
If you can confirm this works, or report that it doesn't, it will be appreciated.
Hi.
I tend to use an automated table of contents using "Markdown All in One" for VSCode, because it allows me browsing the document from within the document.
The problem is that when it is served with madness the levels are not respected but using the automatic ToC generator from madness it creates the correct levels.
As an example I have as a manual ToC:
But once is served by madness I only get:
So only two levels are shown.
I know I can use the TOC generator but then I lose the ability to use a visible ToC while editing.
The text was updated successfully, but these errors were encountered: