16 Commits

Author SHA1 Message Date
Leedehai
8c28f67504
Let the lexer respect linebreaks within inline raw (#3756) 2024-04-04 08:18:37 +00:00
Leedehai
0619ae98a8
Fix newline parsing behavior in code mode (#3780) 2024-04-03 09:01:50 +00:00
Myriad-Dreamin
030041466b
Provide more fine-grained spans in raw blocks (#3257)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-03-01 09:17:41 +00:00
Laurenz
8d63b0479c
Make use of is_some_and where applicable (#3523) 2024-02-28 14:24:50 +00:00
Laurenz
145723b1ef
New context system (#3497) 2024-02-27 10:05:16 +00:00
Natsu Kagami
e611021802
lexer: Allow emphasis in Korean text without spaces (#3397) 2024-02-12 14:42:27 +00:00
Peng Guanwen
269860c571
Do not parse special spaces to Space Token (#3267) 2024-01-29 10:46:41 +00:00
Nathan Varner
527d63ed25
Don't stop parsing markup text for braces (#3112) 2024-01-02 09:08:07 +00:00
Heinenen
c27b9e2b0f
Don't allow nested line comment inside block comment (#3048) 2023-12-30 13:01:05 +00:00
Laurenz
2da619e17c Streamline imports 2023-11-19 16:34:38 +01:00
Peng Guanwen
f4a81091f7
Lexer change: Allow emphasis in CJK text without spaces (#2648) 2023-11-15 15:01:15 +01:00
Sébastien d'Herbais de Thun
d77356a16f
Fix potential line splitting issue in raw (#2674) 2023-11-13 16:56:51 +01:00
Laurenz
29130a26f8 Linebreaking for links 2023-10-29 00:52:15 +02:00
Laurenz
f474639ebe Hashtag -> Hash 2023-10-09 16:04:10 +02:00
MALO
0804a9e25d
Use/allow U+2212 MINUS SIGN instead of U+002D HYPHEN MINUS everywhere (#2318) 2023-10-09 15:30:40 +02:00
Laurenz
f5953887c9 Extract syntax module into typst-syntax crate 2023-07-18 21:04:46 +02:00