Trilium-TocWidget

Table of contents Trilium widget for editable and readonly text notes.

Features

  • The ToC is live and automatically updated as new headers are added to the note.
  • Works on editable and readonly text notes.
  • Clicking on the ToC navigates the note.
  • Tested on Trilium Desktop 0.50.3

Installation

  • Create a code note of type JS Frontend with the contents of TocWidget.js
  • Set the owned attributes (alt-a) to #widget
  • Set the owned attributes of any note you don’t want to enable finding to #noTocWidget

Discussions

zadam/trilium#2799

Screenshot

image

GitHub

View Github