-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML_TOC fails when encountering '#' as comment start flag within code blocks #451
HTML_TOC fails when encountering '#' as comment start flag within code blocks #451
Comments
Hi @brxue, Actually this is something that may not seem obvious but when you're instantiating |
Thanks robin850! It solved my problem! |
We encountered the same problem....Do you think it would be worth mentioning it in the README? I believe it could help other people... |
Since some languages rely on the sharp to comment code, the output may be unexpected as titles begin with a sharp in Markdown. Refs #451.
@born4new : Actually the solution was fairly easy, we just need to enable the option by default passing a |
Hi,
I'm trying to use HTML_TOC as a render to generate TOC.
Looks like it will regard the fake '#' as headers when it is within code blocks. for example, "make some nice lexed html" in the following code pieces will be rendered as header.
The text was updated successfully, but these errors were encountered: