← Back to team overview

zim-wiki team mailing list archive

An HTML export template with a dynamic table of contents


Hello everyone,

For my own needs (because I tend to write overly long notes), I wanted to
have an HTML export template with a table of contents, similarly to what
Zim offers in the editor.

I have found the excellent ecodiv-mobile template by Paulo van Breugel (
https://github.com/ecodiv/ZIM-templates), which I extended to include a
dynamically generated table of contents from the document's headers.

I thought others may find this useful maybe, if you'd like to try, here is
the template: https://github.com/lrq3000/ZIM-templates

And here is a demo of the template:

Have a nice day,
Best regards,