-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Add support for kramdown's no_toc #15
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Do you think something similar to this would also possible?
Use case: Skip the headings for certain sections e.g. html code examples or callouts |
Not in a simple and sane manner; see the discussion in #3. I'd prefer to keep this project as simple and lightweight as possible. But if you can come up with a robust solution, I'm open to exploring it. |
Description
Kramdown's official method of hiding a heading from their auto-TOC is to use the
no_toc
class. I already have the capability of extracting IDs, so I'm thinking to extract classes and check forno_toc
there.Let's see how performance hungry this feature would be.
Sample Usage
Expected TOC
The text was updated successfully, but these errors were encountered: