onlyafly / number-headings-obsidian

Automatically number headings in a document in Obsidian
MIT License
104 stars 11 forks source link

Skip headers for numbering #25

Closed Zeta611 closed 9 months ago

Zeta611 commented 2 years ago

Thank you for providing such a useful plugin.

I occasionally found a need to skip some header from being numbered. For instance, I want to prevent the ## Contents ^toc from counted.

More generally, a command to prevent sections with custom suffix, e.g., # Uncounted ^exclude, to skip them would be useful.

FYI, LaTeX provides starred commands like \section* for such usage.

onlyafly commented 2 years ago

Cool idea. I'll consider this.

piotrnajda3000 commented 2 years ago

Would love to see it!

wedgen commented 2 years ago

I second that. I have been converting from VScode to Obsidian for my notes app and this has been something from getting me to parity.

faurehu commented 2 years ago

I came to this board looking for a way to do this, thank you for creating this issue so that I know this is not yet implemented.

gitAlwin commented 9 months ago

Yes! I would also like this feature! Thank you for creating this plugin, I ❤️ it!

onlyafly commented 9 months ago

Alright, you guys convinced me :) Added this feature in the newest version, 1.16.0, which should be available later today.

robkisk commented 3 months ago

thanks for adding this. is there an example for how to use this to skip top level heading?