This plugin is designed to enhance the header of Obsidian. The plugin will auto-detect the header level and add the number to the header.
Warning:
- This plugin is still in the early stage of development, so there may be some bugs. If you find any bugs, please feel free to report them in the issue
- Data is invaluable, so please remember to create backups when using the beta plugin (which version number like 0.x.x).
Header auto numbering provides the ability to add numbers to the header. The number will be added to the header when you press Enter
key to create a new line and it will be updated when you change the header level.
Example:
Warning:
- Header Auto Numbering use
\t
split auto-number and your header. If your header contains\t
, Header Auto Numbering may not work properly. - Header Auto Numbering will modify your Markdown source file directly, so that can be rendered in other Markdown editors.
- Please make sure your header not inculde space if you set
Space
as separator.
Isolate title font provides the ability to isolate the title font from the content.
- Open Settings -> Third-party plugins
- Disable Safe mode
- Click Browse community plugins
- Search for "Header Enhancer"
- Click Install
- Once installed, close the community plugins window and enable the newly installed plugin
- Download the Latest release
- Extract the zip archive in
<vault>/.obsidian/plugins/
so that themain.js
file is within the folder<vault>/.obsidian/plugins/header-enhancer/
. - Reload Obsidian
- If prompted about Safe Mode, you can disable safe mode and enable the plugin.
Header auto-numbering is enabled by default. You can disable it in the plugin settings.
You can change the auto number start header level in the plugin settings. The default value is 1
which means auto number start from H1 or #
.
You can customize your numbering style and observe the style preview in the plugin settings. Currently, only custom separator are supported.
You can use Yaml to control header numbering in the plugin settings. The default value is false
which means use auto numbering. If you set it to true
, you can use Yaml to control header numbering.
Here are some known bugs, I will fix them as soon as possible.
- When you change the header level, the auto number will not be updated immediately. You need move cursor to header line and press
Enter
key to update it.
- Setting support Chinese. - Header Enhancer
Full changelog can be found here.
- https://github.com/Yaozhuwa/easy-typing-obsidian
- https://github.com/lijyze/obsidian-state-switcher
- https://github.com/onlyafly/number-headings-obsidian
If you like this plugin, you can support me by: