New markdown-exec version: updating ToC with generated headings #1834
pawamoy
started this conversation in
Show and tell
Replies: 1 comment 8 replies
-
Consider another markdown parser that is easier to extend? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @frostming!
I've just released Markdown Exec 1.5.0 which now updates the ToC with the generated headings, by default.
If you update it and rebuild your docs, you should see the populated ToC sidebar for the CLI reference 🎉
If you have code blocks for which you don't want to update the ToC, use the
updatetoc="no"
option.(this feature was incredibly hard to implement 😅 python-markdown is not an easy beast to handle)
Beta Was this translation helpful? Give feedback.
All reactions