cemtan41 downloadsA single, unified outline panel for both Markdown notes and PDF documents.
Outline for All Files is an Obsidian plugin that provides a single, unified outline panel for both Markdown notes and PDF documents.
Unlike Obsidian’s built-in Outline (Markdown-only) or the default PDF outline view, this plugin automatically adapts to the active file and always shows the correct outline — no extra clicks, no stale state, no confusion.
✅ One unified outline panel for Markdown + PDF
✅ Automatically updates when switching files
✅ Markdown outline built from real headings (#, ##, ###, …)
✅ PDF outline based on bookmarks / table of contents
✅ Precise PDF navigation using offsets when available
✅ Selected heading is always clearly highlighted
✅ No selection loss when switching files
✅ No indentation jump on selection
✅ Page number badges (optional, right-aligned)
✅ Expand / collapse all sections
✅ Search within outline titles
✅ Remembers expand / collapse state per file
✅ Stable behavior when switching MD ↔ PDF rapidly
.md).pdf)#page=&offset=)Hide built-in PDF sidebar
Hides Obsidian’s default PDF TOC / thumbnails panel
Show PDF page number badges
Displays page numbers next to PDF outline items (aligned to the right)
Expand all on file open
Remember expansion state per file
Offset Top Padding (PDF fine-tuning)
Small vertical adjustment if a PDF heading lands slightly too low
Obsidian already has:
But switching between them breaks flow.
Outline for All Files solves this by behaving like a native panel that “just works” for whatever file is active — Markdown or PDF.
Copy these files into .vault/.obsidian/plugins/all-outline/
main.jsstyles.cssmanifest.jsonReload Obsidian.
MIT License
Made with care for people who actually live in their outlines.