Outline for All Files

approved

by cemtan

This plugin has not been manually reviewed by Obsidian staff. A single, unified outline panel for both Markdown notes and PDF documents.

↓ 35 downloadsUpdated 13d agoMIT

πŸ“Œ Outline for All Files

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.


✨ Features

βœ… 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


πŸ“„ Supported File Types

Markdown (.md)

  • Outline is built from actual Markdown headings
  • Updates dynamically when the note content changes
  • Clicking an item moves the cursor and scrolls to the correct heading

PDF (.pdf)

  • Uses PDF bookmarks / outline if available
  • Navigates with deep links (#page=&offset=)
  • Headings are aligned to the top of the page when possible
  • Gracefully falls back when precise offsets are not provided

🧭 Navigation Behavior

Markdown

  • Jump to heading
  • Cursor positioned correctly
  • No selection flicker or loss

PDF

  • Jump via Obsidian PDF deep-linking
  • Supports page + offset + zoom
  • Designed for reading, not thumbnails

βš™οΈ Settings

  • 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


🧠 Why β€œOutline for All Files”?

Obsidian already has:

  • A great Markdown outline βœ…
  • A separate PDF outline βœ…

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.


πŸ›  Installation

Community Plugins (recommended)

  1. Open Settings β†’ Community plugins
  2. Search for Outline for All Files
  3. Install & enable

Manual Installation

Copy these files into .vault/.obsidian/plugins/all-outline/

  • main.js
  • styles.css
  • manifest.json

Reload Obsidian.


πŸ“œ License

MIT License


Made with care for people who actually live in their outlines.

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.