Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Ordinal Headings

aceofspadesomeletteaceofspadesomelette2 downloads

Live Word-style numbering for Heading 1–6 with presets and custom patterns (visual by default).

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Word-style numbers for Heading 1–6. By default the numbers are visual only, so the Markdown stays clean, and they update as you edit. Live Preview and Reading view are both supported, on desktop and on Android.

How numbering works

Numbers appear next to headings while you edit or read. They are not written into the file until you bake them. They update when you add, remove, or reorder headings.

If a heading already starts with a number-like prefix, such as 1. or 2.1, the visual label is skipped so you do not see 1. 1. Title.

These titles are also skipped, so they do not take a number:

  • Obsidian’s inline note title
  • A filename title injected by Better Export PDF or Pagina
  • A Conspectus table-of-contents title

Styles

Choose a preset in Settings → Ordinal Headings, or build a custom format. Tokens you can use:

{n} {dotted} {1}–{6} {roman} {Roman} {alpha} {Alpha} {zh}

Presets include decimal, parenthetical, classic outline, chapter, and Chinese 第X章.

Under Backup, Export settings and Import settings save or restore the configuration as ordinal-headings-settings.json.

Put numbers into the note

Baking writes the numbers into the current note only. It does not number the rest of the vault, and it does not insert numbers while you type. Baking is useful when you want the numbers in a PDF, in Obsidian Publish, in search, or in the outline.

  1. Open the note.
  2. In Settings → Ordinal Headings, choose the style. Bake uses the active preset.
  3. Open the command palette (Ctrl+P on Windows, Cmd+P on Mac, or the Commands entry on Android).
  4. Run Bake numbers into current note.

For the decimal preset, this:

# Intro
## Background

becomes:

# 1 Intro
## 1.1 Background

The exact text follows your preset or custom format.

After you add, remove, or reorder headings, run Bake numbers into current note again. Bake removes an old recognizable prefix first, so a heading becomes # 2.2 Title rather than # 2.2 2.1 Title.

To take the numbers back out, run Strip baked numbers from current note.

One note at a time

ordinal-headings: off
ordinal-headings-style: zh-chapter
  • ordinal-headings: off or on turns numbering off or on for this note.
  • ordinal-headings-style picks a preset for this note, such as decimal, zh-chapter, or custom.

Toggle numbering for current note writes that on/off flag for the open note.

Commands

Command What it does
Bake numbers into current note Write numbers into this note’s Markdown
Strip baked numbers from current note Remove recognizable number prefixes
Toggle numbering for current note Turn numbering on or off for this note
Refresh heading numbers Redraw the visual numbers
HealthExcellent
ReviewPassed
About
Display live, Word-style numbering for headings 1–6 that updates as you edit while keeping your Markdown clean by default. Use multilevel presets or custom tokens (decimal, outline, chapter, Chinese 第X章, roman, alpha, etc.) and show numbers in Live Preview and Reading view on desktop and Android. Bake or strip numbers per note to write them into or remove them from the file.
OutliningFormatting
Details
Payments
Optional
Current version
1.1.0
Last updated
11 hours ago
Created
Last month
Updates
3 releases
Downloads
2
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Payments
Nothing. Just buy me a coffee if you find the plugin useful!
Author
aceofspadesomeletteaceofspadesomelette
GitHubaceofspadesomelette
  1. Community
  2. Plugins
  3. Outlining
  4. Ordinal Headings

Related plugins

Admonition

Admonition block-styled content.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Outliner

Work with your lists like in Workflowy or Roam Research.

Image Captions

Add captions to images with inline Markdown and link support. The caption format is compatible with the Commonmark spec and other Markdown applications.

Sort and Permute lines

Sort and Permute lines in whole file or selection.

Word-Smith

The Ultimate Writing Suite - Write. Organize. Export.

Colored Text

Color the selected texts.

PanGu

Add spaces between Chinese characters and English alphabet. A boon for typographically compulsive people.

Advanced PDF Export

Export notes as pixel-perfect PDFs with live preview, style presets, manual page breaks, tables, and full layout control.