mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
This adds overridable functions that markup desugars into. Specifically: - \ desugars into linebreak - Two newlines desugar into parbreak - * desugars into strong - _ desugars into emph - = .. desugars into heading - `..` desugars into raw
12 lines
123 B
Typst
12 lines
123 B
Typst
// Test paragraph breaks.
|
|
|
|
---
|
|
// Paragraph breaks don't exist!
|
|
#let parbreak() = [ ]
|
|
|
|
No more
|
|
|
|
paragraph breaks
|
|
|
|
for you!
|