Index Note Splitter

by michellegdyason
5
4
3
2
1
New Plugin

Description

This plugin has not been manually reviewed by Obsidian staff. Split long notes into linked section notes and turn the source note into an index.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Index 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

  1. Copy this folder into your vault at:

    .obsidian/plugins/index-note-splitter
    
  2. In Obsidian, open Settings > Community plugins.

  3. Turn off restricted mode if needed.

  4. Enable Index Note Splitter.

Usage

Open a note and run one of these commands from the command palette:

  • Open index note splitter
  • Extract selection to linked note
  • Extract H1 sections to linked notes
  • Extract H2 sections to linked notes
  • Extract H3 sections to linked notes
  • Extract 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.