Markdown: Treat CJK punctuation symbols as letters

Some aspects of the commonmark spec do not play well with CJK languages.

For example, according to the spec punctuation should be handled as whitespaces hence
a**.test.**b should NOT be bold, whereas a**test**b has test in bold.

This is problematic for Chinese users. This FR is used to track a proposed deviation from the commonmark spec: handle Chinese punctuation symbols (that are different from regular punctuation symbols) as regular letters.

5 Likes

Add a use case.

**啦。**啦 cannot be parsed properly in live preview:
image

The reader mode does not have this issue:
image

2 Likes

Really need this feature!

And it seems that sometimes even English text would encounter this problem:
image

The raw text is:

For example, text **bold with symbol !**would be broken.
  
中文的符号也一样:添加**加粗!**就不行了。

或者是**这种符号:.**的文本。

Still be a problem in 2024.

**「加粗」**不加粗

In reading mode 「加粗」 will be bolded as expected, while in preview mode the text is rendered as 「加粗」**不加粗 and the whole test is bolded.

Would be appreciated if there’s any improvement on this.

Any updates please?