Trilium: Table of contents

Created on 19 May 2019  路  7Comments  路  Source: zadam/trilium

It would be nice if there was an option to toggle a table of contents for a given text node. It would allow efficient navigation in long, well structured notes.

(recent user, sorry if such a thing already exists and I missed it)

Easy Blocked Enhancement

Most helpful comment

This would be an absolutely killer feature for notes that go on longer than originally intended. Again, love the work you do zadam, thanks for making the wonderful application.

All 7 comments

Hello, personally I prefer to have smaller notes which are structured in the note tree as opposed to long documents structured by headings. But of course this might not be always applicable.

Table of contents is currently not supported. It's actually more of a feature in the editing component and adding this is tracked on CKEditor's project. Once they add support for ToC, I'll definitely consider adding it to Trilium.

Thanks for the quick response, I'll track the CKEditor feature request then!

Hello,
I also prefer using multiple smaller notes in a subtree. When a note (say the main note in a subtree) has no content the underlying notes are currently shown in a grid view, using 0.37.2.

Although nice I find that un-easy to navigate. As you read the underlying notes already (name and content) I guess it would be relatively easy to generate a Table of Content of underlying notes (only names) with correct indentation showing the level in the subtree.

This makes navigating/overviewing a subtree relatively easy instead of using the tree. Might be a small enahancement. It will keep the tree for high level navigation with detail navigation for the current subtree in the note itself. If the depth of subtree level could be configured (1 level, 2 or even 3 level) that would be great.

And if it could be added manually even better. So a short descriptive note about this subtree followed by a Table of Content.

Hello, personally I prefer to have smaller notes which are structured in the note tree as opposed to long documents structured by headings. But of course this might not be always applicable.

Table of contents is currently not supported. It's actually more of a feature in the editing component and adding this is tracked on CKEditor's project. Once they add support for ToC, I'll definitely consider adding it to Trilium.

it seems theckeditor finished this function: https://github.com/ckeditor/ckeditor5/issues/1942

It was closed as duplicate, the real issue is this: ckeditor/ckeditor5#966

Hello! Sorry to bump this issue.
I'm not sure if the original request was meant so, but rather than having a table of content at the beginning of the document it would be neat to have a ToC view in a side pane - or a pop-up... ToC at the beginning of the document is good to quickly jump somewhere when you open it, but no good for navigation back and forth in it.
Besides, I see the idea of having small notes in a subtree, this is great too; but it's no good when you need to edit many sections kind of simultaneously, taking a line from under that section to under this one, transforming lines under different sections according to each other, copying a line quickly from one section to another... All of this is easier with long documents with headings rather than with a subtree of notes, since the overview doesn't allow edition in subnotes, which is needed for the above...
Alternatively, maybe editing the subnotes from the overview, without leaving this overview, maybe this could be an alternative solution...?

This would be an absolutely killer feature for notes that go on longer than originally intended. Again, love the work you do zadam, thanks for making the wonderful application.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zadam picture zadam  路  4Comments

CrashLaker picture CrashLaker  路  6Comments

PwnFunction picture PwnFunction  路  3Comments

gerroon picture gerroon  路  5Comments

TTtrace picture TTtrace  路  5Comments