Number Headings

by Kevin Albrecht
5
4
3
2
1
Score: 48/100

Description

Category: Note Enhancements

The Number Headings plugin allows you to add numbers to your headings in a document, giving them an outline-style numbering format such as "1.1.2". This feature is particularly useful for creating organized and structured content. With this plugin, you can also customize the numbering system by specifying the start number and separator character. Additionally, you have control over automatic numbering for specific files, making it easy to manage your documentation workflow.

Reviews

No reviews yet.

Stats

153
stars
81,602
downloads
28
forks
1,723
days
693
days
950
days
7
total PRs
4
open PRs
1
closed PRs
2
merged PRs
79
total issues
38
open issues
41
closed issues
0
commits

Latest Version

3 years ago

Changelog

Added support for skipping headings using the skip front matter setting.

README file from

Github

Number Headings Plugin for Obsidian

Add numbers to headings in a doc with outline style numbering. For example, "1.1.2".

How to install

There are two ways to get the plugin:

  1. Install the latest release from Obsidian directly. Go to Settings -> Community Plugins -> Browse.
  2. Unzip the most recent release into your <vault>/.obsidian/plugins/ folder. You can find the latest release at https://github.com/onlyafly/number-headings-obsidian/releases/latest.

After you have installed the plugin, make sure that the switch for "Number Headings" is turned on.

How to use the plugin

To use this plugin:

  1. Open the command palette (type CMD + P on Mac or its equivalent on other platforms).
  2. Start typing the name of one of the actions. See below:
Action Hotkey
Number all headings in document (and show options) None by default
Number all headings in document None by default
Remove numbering from all headings in document None by default
Save settings to front matter None by default

You can also assign the commands to hotkeys for easy usage.

See the settings page for the plugin for detailed instructions on the various settings you can use with the plugin.

Version History

1.16.0 (Oct 3, 2023)

1.15.0 (Sep 23, 2023)

1.14.0 (Sep 21, 2023)

1.13.0 (Jan 6, 2023)

  • Added support for a right parenthesis as a separator.

1.12.0 (Jan 1, 2023)

1.11.0 (Jan 1, 2023)

1.10.1 (Dec 31, 2022)

1.10.0 (June 29, 2022)

1.9.0 (June 19, 2022)

1.8.1 (December 15, 2021)

1.8.0 (October 26, 2021)

  • Add automatic table of contents rendering
  • Add first-level setting to allow skipping several heading levels
  • Fixed bug where skipped headings that started with numbers would be erased

1.7.3 (August 24, 2021)

  • Cleaned up explanations of front matter in settings screen.

1.7.2 (August 19, 2021)

  • Improved how numbering is inserted behind the scenes, so that undo history is preserved better and works faster.

1.7.1 (August 18, 2021)

  • Fixed bug where skipped headings might have separators incorrectly inserted.

1.7.0 (August 18, 2021)

  • Added support for custom separators between the heading numbering and the heading text.

1.6.1 (August 15, 2021)

  • Improved how headings are inserted, so that the undo history is not polluted with too many irrelevant changes.

1.6.0 (August 14, 2021)

  • Simplified the front matter settings to use a single key

1.5.1 (August 14, 2021)

  • Fixed some bugs where "undefined" sometimes got printed at the start of lines after user removed a heading

Credits

I was inspired partially by the Obsidian plugin https://github.com/hipstersmoothie/obsidian-plugin-toc and some of the code logic is descended from that plugin. Thanks!

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Better Heading Hierarchy
10 months ago by rogerfan48
a Obsidian plugin that add guide lines to make the hierarchy of Markdown headings more visually clear
Filename Emoji Remover
4 years ago by Yüksel Tolun
A simple plugin for the note taking app Obsidian that will rename your files to remove emojis in their names.
Floating Headings
3 months ago by k0src
Displays a floating, collapsible outline of a note's headings on the right side of the editor. Expands on hover, click to navigate.
Go To Heading
3 years ago by join
Quickly navigate between your document's headings in Obsidian
Heading Decorator
a year ago by dragonish
Implement displaying specific content around headings based on their levels.
Heading Helper
10 months ago by Siddhartha Khuntia
Heading Shifter
4 years ago by kasahala
Easily Shift and Change markdown headings.
Heading Toggler
2 years ago by Lord Turmoil
Toggle heading levels in Obsidian
Headings in Explorer
2 years ago by Patrick Chiang
This Obsidian plugin makes headings first class concepts in the file explorer and consolidates navigation to a single panel.
Insert Heading Link
4 years ago by Signynt
Add a Link to a Heading.
Lapel
4 years ago by Liam Cain
🤵 Dress up your editor. Obsidian plugin to show the heading level in the gutter.
Linter
5 years ago by Victor Tao
An Obsidian plugin that formats and styles your notes with a focus on configurability and extensibility.
Negative Heading
2 months ago by Ashan Devine
Render Discord-style "-#" lines as compact headings in reading view and the editor.
Short Internal Links to Headings
3 years ago by Scott Moore
An Obsidian plugin to display short internal links.
Sticky Headings
2 years ago by Shen Shen
Zoom
5 years ago by Viacheslav Slinko