1e5ce6c068
Build and Deploy Verso / deploy (push) Successful in 10m47s
outline.ts: export NestingLevel so it can be used outside the file. markdown/document-outline.ts: new enterMarkdownNode function that walks the Lezer Markdown syntax tree and extracts ATXHeading1-6 and SetextHeading1-2 nodes, mapping them to the same NestingLevel enum used by the LaTeX outline (Section→SubSection→SubSubSection…). Wrapped in makeProjectionStateField for incremental updates. markdown/index.ts: register markdownDocumentOutline as a CodeMirror extension in the Markdown LanguageSupport so the StateField is active whenever a .qmd file is open. codemirror-outline.tsx: fall back to markdownDocumentOutline when the LaTeX documentOutline StateField is not present in the editor state (i.e. when the active language is Markdown, not LaTeX). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>