README file from
GithubIndex Note Splitter
Index Note Splitter extracts content from the active note into new linked notes and turns the source note into an index.
Features
- Extract the current text selection into a new note.
- Extract all sections for a chosen heading level: H1, H2, H3, or H4.
- Name new notes from the source heading or the first non-empty line of the selection.
- Copy the source note's YAML properties into every extracted note.
- Rebuild the source note as an index of links when extracting by heading.
- Replace selected content in the source note with a link to the new note.
- Preserve heading levels in extracted notes.
- Add a backlink from the new note to the source note.
- Add a bottom
Next:link from each extracted heading note to the following extracted heading note.
The source note keeps a normal Obsidian link where the extracted content used to be. With Obsidian's page preview or the Hover Editor community plugin enabled, hovering that link shows the extracted note for context.
Install
-
Copy this folder into your vault at:
.obsidian/plugins/index-note-splitter -
In Obsidian, open
Settings > Community plugins. -
Turn off restricted mode if needed.
-
Enable
Index Note Splitter.
Usage
Open a note and run one of these commands from the command palette:
Open index note splitterExtract selection to linked noteExtract H1 sections to linked notesExtract H2 sections to linked notesExtract H3 sections to linked notesExtract H4 sections to linked notes
You can also click the scissors ribbon icon to choose between selection and heading extraction.
Notes
Heading extraction creates one note per matching heading section. For example, extracting H1 sections keeps the H1 heading and any lower-level headings inside the new note, then rebuilds the original note so its body contains only H1 links to the extracted notes.
For a large source note, run Extract H1 sections to linked notes. If the source has 8 H1 sections, it creates 8 new notes. Each new note contains its H1 section, including nested H2, H3, H4, H5, and H6 content. The original source note keeps its properties and becomes an index containing only those 8 H1 link headings. Each extracted note also links to the next extracted H1 note at the bottom, so you can continue reading section by section.