Hash sign # changes font-size before it's known to be a header

In Obsidian, hash sign # serves 2 functions: MD header marker and Obsidian tag marker.

Currently if I start typing # in editor mode, font-size and font-weight immediately changes to H1 styling even though I want to start typing #some-tag.

I think the correct behavior to improve UX should be to change styling to header style only after typing # or ##. That way the styling would not jump like crazy for user typing a tag. It works the same way in some of the other editors like Panda and it should be very easy to change.

Steps to reproduce

Expected result

Change styling to header style only after typing # or ##

Actual result

After typing # in editor mode, styling immediately changes to H1 style.

Environment

  • Operating system: MacOS Big Sur 11.6
  • Obsidian version: v0.12.15

Please, open a feature request for this.

Ok, I’ve created feature request: Change hash sign # font styles only after it's known to be a header