typst-0.9: test/typ/layout/container-00.out
--- parse tree ---
[ Comment
, SoftBreak
, Text "A"
, Space
, Code
"typ/layout/container-00.typ"
( line 2 , column 4 )
(FuncCall
(Ident (Identifier "box"))
[ BlockArg [ Text "B" , Space , HardBreak , Text "C" ] ])
, Space
, Text "D"
, Text "."
, ParBreak
, Comment
, SoftBreak
, Text "Spaced"
, Space
, HardBreak
, Code
"typ/layout/container-00.typ"
( line 6 , column 2 )
(FuncCall
(Ident (Identifier "box"))
[ KeyValArg (Identifier "height") (Literal (Numeric 0.5 Cm)) ])
, Space
, HardBreak
, Text "Apart"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
A ]),
box(body: { text(body: [B ]),
linebreak(),
text(body: [C]) }),
text(body: [ D.]),
parbreak(),
text(body: [
Spaced ]),
linebreak(),
box(height: 0.5cm),
text(body: [ ]),
linebreak(),
text(body: [Apart]),
parbreak() })