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

Generate table of contents #3

Open
bracke opened this issue Nov 17, 2021 · 1 comment
Open

Generate table of contents #3

bracke opened this issue Nov 17, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@bracke
Copy link

bracke commented Nov 17, 2021

Hi

Is there a way to make yass generate a table of contents which gets inserted into all pages?
The table of contents would contain links to all the generated html pages.

Kind regards
Bent Bracke

@thindil thindil added the enhancement New feature or request label Nov 17, 2021
@thindil
Copy link
Contributor

thindil commented Nov 17, 2021

Hello

Unfortunately, at this moment, not. The current HTML generator is a bit simple. I like the idea, and probably someday I will add it to yass. Just, I can't tell or promise when. But, if someone wants, feel free to send me a patch with it. Anyway, thank you for the idea. 😄

If you really need that option, you could try to create it with module/extension to the page project. Probably the best way would be creating ToC after converting Markdown to HTML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants