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

How to generate toc in Jinja when extension is set ? #16

Open
serser opened this issue Aug 20, 2017 · 1 comment
Open

How to generate toc in Jinja when extension is set ? #16

serser opened this issue Aug 20, 2017 · 1 comment

Comments

@serser
Copy link

serser commented Aug 20, 2017

I've set Markdown(app, extensions=['footnotes','toc']), and I have my docs generated in HTML,

{% filter markdown %}{% include "docs.md" %} {% endfilter %}

I'd like to generate a table of contents within Jinja template. How is it can be done?

@dennohpeter
Copy link

hello how did you do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants