diff options
| author | Peng Guanwen <pg999w@outlook.com> | 2023-11-15 22:01:15 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-15 15:01:15 +0100 |
| commit | f4a81091f72299296fb2be7511b08c3cb0e8fa57 (patch) | |
| tree | 7935e1eebf9e4ff1f361e71435becd5801f8eb51 /tests | |
| parent | 50ea3b4f1651ca6558c118edebbd68d7ef7a93d7 (diff) | |
Lexer change: Allow emphasis in CJK text without spaces (#2648)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/text/emphasis.png | bin | 8575 -> 16982 bytes | |||
| -rw-r--r-- | tests/ref/text/lang-with-region.png | bin | 1389 -> 1392 bytes | |||
| -rw-r--r-- | tests/typ/text/emphasis.typ | 7 |
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/text/emphasis.png b/tests/ref/text/emphasis.png Binary files differindex 333f7006..c19f6ebb 100644 --- a/tests/ref/text/emphasis.png +++ b/tests/ref/text/emphasis.png diff --git a/tests/ref/text/lang-with-region.png b/tests/ref/text/lang-with-region.png Binary files differindex 097f105d..c7753104 100644 --- a/tests/ref/text/lang-with-region.png +++ b/tests/ref/text/lang-with-region.png 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 #[ |
