onlyafly / number-headings-obsidian

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

Adding an option to also skip subheadings #60

Open sanj0 opened 7 months ago

sanj0 commented 7 months ago

I would find it very helpful if there were an option to not only skip the anchored heading but also all of its subheading.

Current behavior.

# Don't Number ^skip ## 1.1 Also Don't Number ## 1.2 Also Don't Number

Wanted behavior.

# Don't Number ^skip ## Also Don't Number ## Also Don't Number

This could be a per-file option or an additional tag (like ^skip-children or ^skip-all) could be added.