-
In Docusaurus v3, text including CJK text along with parentheses and bold style (or any other basic Markdown style) is not rendered as expected. For example, for the following text:
In the rendered result, the bold style is not applied as expected for text including CJK text.
(I was surprise to see that this issue is reproduced in the GitHub Markdown editor.)
Any good idea on how to solve this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Yes, if GitHub and MDX both have this issue, that means there's a very high chance that it's how GitHub-flavored Markdown is supposed to work. MDX v2 changes parsing behavior from MDX v1, so perhaps they think this is more correct. If you wish, maybe add spaces? 让我们了解一下 **DBMS(数据库管理系统)** 的定义。 I know it looks awkward but it is what it takes to make things work. Otherwise you would need to use HTML tags like In any case, it would be better to ask in the MDX repo instead since we don't control Markdown parsing. |
Beta Was this translation helpful? Give feedback.
-
Adding spaces for these types of construct is typographically unacceptable for official documentation in CJK, so we'll have to use corresponding HTML tags instead, until the issue is resolved. I'll see what I can do in the MDX repo. Thank you. |
Beta Was this translation helpful? Give feedback.
Yes, if GitHub and MDX both have this issue, that means there's a very high chance that it's how GitHub-flavored Markdown is supposed to work. MDX v2 changes parsing behavior from MDX v1, so perhaps they think this is more correct.
If you wish, maybe add spaces?
I know it looks awkward but it is what it takes to make things work. Otherwise you would need to use HTML tags like
<strong>
.In any case, it would be better to ask in the MDX repo instead since we don't control Markdown parsing.