We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to get a non-nested list? Nested lists like this one create problems when writing CSS (especially using :nth-of-type())
<ul> <li> <a href="#heading-1" class="anchor_class">Heading 1</a> <ul> <li> <a href="#heading-21" class="anchor_class">Heading 2.1</a> </li> <li> <a href="#heading-22" class="anchor_class">Heading 2.2</a> </li> </ul> </li> </ul>
It would be great if it was possible to get lists like this one:
<ul> <li> <a href="#heading-1" class="anchor_class">Heading 1</a> </li> <li> <a href="#heading-21" class="anchor_class">Heading 2.1</a> </li> <li> <a href="#heading-22" class="anchor_class">Heading 2.2</a> </li> </ul>
If it is already possible, how could I use that? If it is not, please add a feature for this. I'm sorry for my English, I try my best :)
The text was updated successfully, but these errors were encountered:
It is currently not possible to achieve this but also, shouldn't be hard to implement.
I am curious as to why you need everything only at one level? Is it just because the CSS is hard to write?
Sorry, something went wrong.
If you try to use this CSS code for each these HTML examples, you will see the difference:
ul li:nth-of-type(2) { color: red; }
2ab431a
I've added a new flat_toc parameter that you can use to opt-in to having a single-level table of contents; tagged in v1.2.1
flat_toc
No branches or pull requests
Is it possible to get a non-nested list? Nested lists like this one create problems when writing CSS (especially using :nth-of-type())
It would be great if it was possible to get lists like this one:
If it is already possible, how could I use that? If it is not, please add a feature for this. I'm sorry for my English, I try my best :)
The text was updated successfully, but these errors were encountered: