Repository navigation
feat: add a document outline to the sidebar - #28
Merged
Merged
Conversation
3 tasks done
robertjndw
force-pushed
the
feat/outline
branch
5 times, most recently
from
October 21, 2026 15:00
32bdf3e to
8fae9cf
Compare
robertjndw
force-pushed
the
feat/outline
branch
from
October 21, 2026 16:26
8fae9cf to
cd1fa93
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Stacked on #27.
Adds an Outline tab (Mod+Shift+O) with the headings, figures and labels of the document. It starts at the main file and follows
#include, so chapters in other files show up in place. Clicking an entry opens the file at that spot, and the entry the cursor is in gets highlighted.It uses the Typst parser that
codemirror-lang-typstalready ships instead of tinymist, so it also works on view-only links and doesn't wait for the language server to start.Checklist
fixtures/compat/, and a format change follows Compatibility