generated from JS-DevTools/template-node-typescript
-
Notifications
You must be signed in to change notification settings - Fork 17
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
[Feature Request] Option to Toggle List Type #7
Comments
I'm looking forward to this feature too, upvote 👍 |
It seems that this guy figured it out here #6 ... but failed to share his technique. Maybe if we all chastise him vehemently he will share the answer ;) |
just use css like this: .toc .toc-item::marker {
font-size: 0px;
} |
To make it dot: .toc .toc-item::marker {
content: '·';
font-weight: bold;
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Thank you for your work on this library, I just implemented it in the next version of my personal website/blog to generate a TOC for my blog posts since my previous library of choice was coupled to the Gatsby/Remark ecosystem.
I wanted to utilize un-ordered list instead of ordered list for my use case, but it did not appear there was a built-in option to change this and it required writing a custom pre-parser to change the tagType in the HAST before generating the HTML. I think this is a pretty straight forward use case that would be valuable as an optional toggle value in the library options.
Would you be open to this change? I am happy to create a PR to add this functionality if so.
The text was updated successfully, but these errors were encountered: