summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorPeng Guanwen <pg999w@outlook.com>2023-11-15 22:01:15 +0800
committerGitHub <noreply@github.com>2023-11-15 15:01:15 +0100
commitf4a81091f72299296fb2be7511b08c3cb0e8fa57 (patch)
tree7935e1eebf9e4ff1f361e71435becd5801f8eb51 /tests/typ/text
parent50ea3b4f1651ca6558c118edebbd68d7ef7a93d7 (diff)
Lexer change: Allow emphasis in CJK text without spaces (#2648)
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/emphasis.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/text/emphasis.typ b/tests/typ/text/emphasis.typ
index fd04c8e7..93913dcf 100644
--- a/tests/typ/text/emphasis.typ
+++ b/tests/typ/text/emphasis.typ
@@ -7,6 +7,13 @@ _Emphasized and *strong* words!_
// Inside of a word it's a normal underscore or star.
hello_world Nutzer*innen
+// CJK characters will not need spaces.
+中文一般使用*粗体*或者_楷体_来表示强调。
+
+日本語では、*太字*や_斜体_を使って強調します。
+
+中文中混有*Strong*和_Empasis_。
+
// Can contain paragraph in nested content block.
_Still #[