Musel30 downloadsConvert plain indented outlines into Markdown headings.
Indent to Headings converts plain indented outlines into Markdown headings in Obsidian.
It is designed for notes that start as quick plain text:
Project plan
Research
Read papers
Collect notes
Build
Prototype
Test
and turns them into structured Markdown:
# Project plan
## Research
Read papers
Collect notes
## Build
Prototype
Test
The converter is safe to rerun. Existing Markdown headings are preserved, so you can convert a note once, add another rough outline later, and run the command again without rewriting the finished sections.
<!-- indent-to-headings:start -->
Project
Build
Prototype
<!-- indent-to-headings:end -->
Convert indented outline to headingsConvert current outline block to headingsConvert marked outline blocks to headingsPreview indent to headings conversionThe ribbon button runs Convert indented outline to headings.
Base heading level: heading level used for top-level plain lines when there is no nearby heading.Spaces per indent: how many leading spaces count as one indent level.Leaf lines as text: only lines with children become headings.Minimum children for heading: require one, two, or three direct child lines before a line becomes a heading.Leaf text style: write leaves as plain text or bullets.Preserve leaf list markers: keep existing list markers on leaf lines.Strip list markers from headings: remove list markers before creating headings.Preserve blank lines: keep blank lines in converted output.Prefer marked blocks: if marked blocks exist, the main command only converts inside them.manifest.json, main.js, and styles.css from the latest release.<vault>/.obsidian/plugins/indent-to-headings/.Indent to Headings in Community plugins.npm install
npm run dev
For a production build:
npm run build
For tests:
npm test
manifest.json.npm version patch, npm version minor, or npm version major.manifest.json, main.js, and styles.css.The repository is prepared for Obsidian Community plugin submission.
Submit this repository URL:
https://github.com/musel25/indent-to-headings
Final submission must be completed by the repository owner because it requires signing in, linking GitHub, and accepting the Obsidian developer policies.
Plugins -> New plugin.The current release is ready for review:
README.md, LICENSE, manifest.json, and versions.json exist.manifest.json.version is 1.3.0.1.3.0 exists.main.js, manifest.json, and styles.css.versions.json maps plugin version 1.3.0 to minimum Obsidian version 1.5.0.