lord-turmoil732 downloadsEasily toggle heading levels in Markdown documents with shortcuts.
Copyright © Tony's Studio 2024
This plugin allows you to toggle heading levels quickly. You can bind hotkeys to increase or decrease heading levels without typing those # characters. 😀
You can bind these commands with your favorite hotkeys in the options. 😉
main.js and manifest.json)..obsidian/plugins/heading-toggler. You may need to create a new directory.By default, Obsidian doesn't support nested headings, which means only the H1 in the following Markdown will be rendered as expected.
# Normal H1
- ## H2 in list
> ### H3 in quotes
Therefore, this plugin won't apply nested headings and takes listing and quotes as normal text as below.
# Normal H1
## - H2 in list
### > H3 in quotes
Improvement of this plugin is welcomed. 😋
Clone the repository: heading-toggler-obsidian. If you don't want to develop it inside the Obsidian vault, you can create a link to the repository.
For Windows users, you can use mklink.
mklink /D heading-toggler path\to\your\repository
For Linux users, you can use ln.
ln -s heading-toggler path/to/your/repository
This plugin is quite simple, all logics are in main.ts.
npm run dev: build the plugin for development.npm run build: build the plugin for production.npm run version: update version.