Beppe204 downloadsNavigate single-line HTML comments in the active Markdown note.
Scene Navigator is a minimal scene outline for Obsidian. It lists single-line HTML comments from the active Markdown note and lets you jump to their exact position.
When the editor cursor is inside a scene, these commands are also available from the Command Palette and can be assigned shortcuts under Settings → Hotkeys:
<!-- first encounter – v.07 -->
The comment appears in the sidebar as:
first encounter – v.07
Scene Navigator uses ordinary HTML comments. It does not introduce a custom file format, and your notes remain fully usable without the plugin.
<!-- first encounter – v.07 --> to a
Markdown note.Scene Navigator does not assign default hotkeys, so it cannot overwrite an existing shortcut. Open Settings → Hotkeys, search for Scene Navigator, and assign only the commands you want.
| Command | What it does | Suggested macOS hotkey |
|---|---|---|
| Open navigator | Opens and reveals the Scene Navigator sidebar. | Use the ribbon icon |
| Toggle scene comment | Creates, wraps, or removes a single-line scene marker. | ⇧⌘, |
| Copy current scene | Copies the complete scene containing the cursor. | ⇧⌘S |
| Select current scene | Selects the complete scene containing the cursor. | ⌥⇧⌘S |
<!-- HTML comment --> in document order.---- line.Run Scene Navigator: Toggle scene comment in the Command Palette while editing a note to create or remove a scene marker:
<!-- --> and places the cursor between the
spaces.Scene markers must stay on one line. The command refuses multiline selections
because Scene Navigator intentionally ignores multiline HTML comments. To add a
keyboard shortcut, open Settings → Hotkeys and search for Scene Navigator:
Toggle scene comment. Suggested macOS shortcut: Shift-Command-, (⇧⌘,).
The magnifying-glass button filters the visible list. The second toolbar button enables or disables automatic scrolling to the scene at the current cursor position.
Right-click a scene on desktop, or press and hold it on mobile, to open these actions:
For the final scene, the range ends at the end of the file. Duplicate and cut are ordinary editor changes and can be undone with Obsidian's Undo command.
You can drag the view between sidebars using Obsidian's standard pane controls.
Scene Navigator recognizes this exact standalone line as a scene break:
----
Optional surrounding whitespace is ignored. Three or five hyphens are not treated as scene breaks. The divider is visual and non-interactive; Scene Navigator never changes the source line.
Scene Navigator intentionally:
%% Obsidian comments %%;---- lines only to display scene breaks;All single-line HTML comments are included in version 1.0.0. The parser has a
separate filtering boundary so an optional convention such as – v. can be
added later without changing the file format or navigation model.
beppepic/scene-navigator and enable the plugin.Once Scene Navigator is accepted into the Obsidian Community Plugins directory:
Download main.js, manifest.json, and styles.css from the latest GitHub
release. Place them in:
<vault>/.obsidian/plugins/scene-navigator/
Reload Obsidian, then enable Scene Navigator under Settings → Community plugins.
Requirements: Node.js 18 or newer and pnpm or npm.
pnpm install
pnpm test
pnpm lint
pnpm build
The production build creates main.js. Compiled files are attached to GitHub
releases and are not committed to the repository.
Scene Navigator works locally. It makes no network requests, collects no telemetry, and creates no database. It reads the active note to build the sidebar. Note content changes only when you explicitly choose Duplicate scene or Cut scene, or run Toggle scene comment.