diff options
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/text/raw.typ | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/typ/text/raw.typ b/tests/typ/text/raw.typ index 8cf5ee7e..525988ec 100644 --- a/tests/typ/text/raw.typ +++ b/tests/typ/text/raw.typ @@ -5,6 +5,10 @@ `A``B` --- +// Empty raw block. +Empty raw block:``. + +--- // Typst syntax inside. ```typ #let x = 1``` \ ```typ #f(1)``` @@ -49,6 +53,22 @@ The keyword ```rust let```. ``` --- +// Do not take empty lines into account when computing dedent. +``` + A + + B +``` + +--- +// Take last line into account when computing dedent. +``` + A + + B + ``` + +--- // Text show rule #show raw: set text(font: "Roboto") `Roboto` |
