oeyoews / tiddlywiki-codemirror6

Your Next TiddlyWiki5 Editor: Codemirror6
https://tiddlywiki-codemirror6.vercel.app/#%24%3A%2Fplugins%2Foeyoews%2Ftiddlywiki-codemirror-6
MIT License
14 stars 0 forks source link

[BUG] Wrong Formatting for Text After Exclamation Mark at the Middle of Text #100

Open kookma opened 1 week ago

kookma commented 1 week ago

Describe the bug

When you use exclamation mark in the middle of a text, CM6 interprets it as Heading 1. So, it shows the following text with format h1.

Expected behavior

The format shall follow the surrounding text format. The ! in the middle of text is exclamation mark NOT heading!

To Reproduce

  1. open new tiddler
  2. write below text
    This is a new editor!
    It is powerful

Screenshots

msedge_img_306_20240923

Configuration

TW 5.3.5 Edge 128 Windows 11

Additional context

No response

oeyoews commented 1 week ago

I admit that the current tw syntax highlighting is a bit bad, I will add a configuration to turn it off.

kookma commented 1 week ago

msedge_img_306_20240923

In the op the screenshot was not shown. I added it here for future references if any!

oeyoews commented 1 week ago

image