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?