Make a Table of Contents from the headings
Bug #373280 reported by
dotancohen
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
As Zim supports semantically correct markup, it would be nice if Zim could create a Table of Contents at the top of notes to let the user quickly navigate to the place he needs. I have a user who uses semantically-
Thanks!
To post a comment you must log in.
May be quite easy to have a plugin that puts a widget somewhere in the interface, e.g. in the side pane above the index tree, that shows the ToC as a treeview. You can get the headings quite easily by walking the parse tree of the page and hook that up to the page-loaded signal to re-fresh the ToC widget.
This would be a good starter project for anyone wanting to try their hands on a plugin.
Actually inserting a ToC in the page and updating on the fly is more of an advanced project as we currently lack the framework for such inline objects.