Skip to content
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

TOC rendered as code block in files without <h1> #36

Open
delucis opened this issue Jun 30, 2015 · 2 comments
Open

TOC rendered as code block in files without <h1> #36

delucis opened this issue Jun 30, 2015 · 2 comments

Comments

@delucis
Copy link

delucis commented Jun 30, 2015

If a TOC is added to a markdown file that is missing at least one first-level heading, the indentation of the list means it is interpreted as a code block and not rendered correctly.

This should probably be handled gracefully by default, but could also be addressed by a minimum depth option as described in #31.

@getaaron
Copy link

👍 👍

@rugk
Copy link

rugk commented Oct 14, 2019

Yeah, this is very annoying:

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants