Conspectus

approvedunreviewed

by aceofspadesomelette

Live in-note table of contents from a conspectus code block, with configurable max heading level.

Updated todayMIT

Conspectus

A live table of contents inside the note. Insert a conspectus block and it updates when headings change. The same block can appear in a Pagina PDF.

Use

Open the command palette and run Insert table of contents, or add this block:

```conspectus
title: Table of Contents
```

The table of contents is an unnumbered nested list of links to headings. Its title is not numbered by Ordinal Headings.

Block options

KeyExampleMeaning
titletitle: ContentsHeading above the list. Leave it empty for no title.
levellevel: 3Deepest heading this block includes
exportexport: falseHide this block in a Pagina PDF. It stays visible in the note.
break-beforebreak-before: trueStart a new PDF page before the table of contents
break-afterbreak-after: trueStart a new PDF page after the table of contents

Settings

Open Settings → Conspectus.

SettingWhat it does
Max heading levelDefault deepest heading for new blocks
Default titleTitle used when a block does not set one
Show TOC in PDF exportInclude the table of contents in Pagina PDFs
Page break before TOC (PDF)Default page break before the block
Page break after TOC (PDF)Default page break after the block

Under Backup, Export settings and Import settings save or restore that configuration as conspectus-settings.json.

Support

Buy Me a Coffee

Star history

Star History Chart

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.