From f4a81091f72299296fb2be7511b08c3cb0e8fa57 Mon Sep 17 00:00:00 2001 From: Peng Guanwen Date: Wed, 15 Nov 2023 22:01:15 +0800 Subject: Lexer change: Allow emphasis in CJK text without spaces (#2648) --- tests/typ/text/emphasis.typ | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/typ/text') 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 #[ -- cgit v1.2.3