onlyafly / number-headings-obsidian

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

Separator Style Bug with Whitespace #36

Closed yixin0829 closed 1 year ago

yixin0829 commented 2 years ago

Hi!!

First of all just to want to say a big THANK YOU for developing this plugin! It really helped me a lot and I love it so much.

One small minor bug: in the setting => Separator Style, I found when you add a space before your separator like - instead of doing -, the auto numbering will keep adding separators.

See screenshot: image

To reproduce the bug shown above:

  1. Go on Obsidian and create a new note
  2. Turn on auto numbering and set Separator style to - (i.e. whitespace + dash)
  3. Add some headings

It might be worth to fix (not a priority). I personally find that using - (whitespace + dash) as separator makes things easier to read than using - only (e.g. 1.2 - My heading vs. 1.2- My heading)

Lotus49b commented 1 year ago

I'm experiencing this problem too.

Any updates on this?

onlyafly commented 1 year ago

Fixed in version 1.10.1

onlyafly commented 1 year ago

@yixin0829 and @Lotus49b : I hope this fix solved your problem!

yixin0829 commented 1 year ago

Tested and solved the issue. @onlyafly Thanks Kevin!