unjs/automd

TOC Generator

Opened this issue · 6 comments

pi0 commented
TOC Generator

It seems this is already supported within Github unless you are looking for a universal use case.

Links


CleanShot 2024-02-06 at 14 52 23@2x

pi0 commented

Yes indeed idea is for universal usage like a rendered HTML not particularly github that has it.

Yes indeed idea is for universal usage like a rendered HTML not particularly github that has it.

Especially so because READMEs are often published to places like NPM that don't have that feature.

pi0 commented

Now i wish we could have a way to hide it only for GitHub 😆 (there might be a CSS trick just guessing)

I think this would involve maybe adding a heading parser to omark that we build on top of here?

pi0 commented

it can be now implemented with mdbox parser