Automatically Number Headlines

Hi all,

I created a plugin for automatically numbering Markdown headlines with the help of vibe coding. I searched through many community plugins and none accurately matched what I was looking for, so I built this one from scratch. Github: yu-zou/obsidian-auto-numbered-headings

TL;DR:

  • Automatically numbers headings in real time as you edit. You don’t need to press a button to automatically number them. All happen in real time and transparently. When you type # 1. , it will automatically change to # 2. (Assuming the correct number should be 2.).

  • The numbering will be triggered by typing . (dot space).

  • Supports clean hierarchical multi-level numbering (1 → 1.1 → 1.1.1).

Core Features

  • Real-time & non-intrusive: Renumbers headings instantly during editing, with no flickering or extra delays.

  • Persistent numbering: Numbers are saved permanently in your Markdown file, not just rendered on screen.

  • Smart hierarchical logic: Automatically maintains correct multi-level outline structure for H1–H6.

  • Clean formatting: Handles proper dot/separator styling automatically for a tidy look.

  • Reliable editing experience: Built on modern editor APIs to preserve undo/redo and normal workflow.

Please take a try and any issue or star will be appreciated. Enjoy~

This seems to be a duplicate feature of another plugin number-headings-obsidian in the community, but I wonder if it can be automatically rendered through a CSS snippet?