typst-0.9: test/typ/compiler/set-03.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/set-03.typ"
( line 2 , column 2 )
(Block
(CodeBlock
[ If
[ ( Literal (Boolean True)
, Block
(CodeBlock
[ Set
(Ident (Identifier "text"))
[ NormalArg (Ident (Identifier "blue")) ]
, Block (Content [ Text "Blue" , Space ])
])
)
]
, Block (Content [ Text "Not" , Space , Text "blue" ])
]))
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [Blue ],
color: rgb(0%,45%,85%,100%)),
text(body: [Not blue]),
parbreak() })