typst-0.9: test/typ/text/deco-01.out
--- parse tree ---
[ Code
"typ/text/deco-01.typ"
( line 1 , column 2 )
(Let
(BasicBind (Just (Identifier "redact")))
(FuncCall
(FieldAccess
(Ident (Identifier "with")) (Ident (Identifier "strike")))
[ KeyValArg (Identifier "stroke") (Literal (Numeric 10.0 Pt))
, KeyValArg (Identifier "extent") (Literal (Numeric 5.0e-2 Em))
]))
, SoftBreak
, Code
"typ/text/deco-01.typ"
( line 2 , column 2 )
(Let
(BasicBind (Just (Identifier "highlight")))
(FuncCall
(FieldAccess
(Ident (Identifier "with")) (Ident (Identifier "strike")))
[ KeyValArg
(Identifier "stroke")
(Plus
(Literal (Numeric 10.0 Pt))
(FuncCall
(Ident (Identifier "rgb"))
[ NormalArg (Literal (String "abcdef88")) ]))
, KeyValArg (Identifier "extent") (Literal (Numeric 5.0e-2 Em))
]))
, ParBreak
, Comment
, SoftBreak
, Text "Sometimes,"
, Space
, Text "we"
, Space
, Text "work"
, Space
, Code
"typ/text/deco-01.typ"
( line 5 , column 21 )
(FuncCall
(Ident (Identifier "redact"))
[ BlockArg [ Text "in" , Space , Text "secret" ] ])
, Text "."
, SoftBreak
, Text "There"
, Space
, Text "might"
, Space
, Text "be"
, Space
, Code
"typ/text/deco-01.typ"
( line 6 , column 17 )
(FuncCall
(Ident (Identifier "highlight")) [ BlockArg [ Text "redacted" ] ])
, Space
, Text "things"
, Text "."
, SoftBreak
, Text "underline"
, Text "("
, Text ")"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
parbreak(),
text(body: [
Sometimes, we work ]),
strike(body: text(body: [in secret]),
extent: 5.0e-2em,
stroke: 10.0pt),
text(body: [.
There might be ]),
strike(body: text(body: [redacted]),
extent: 5.0e-2em,
stroke: (thickness: 10.0pt,
color: rgb(67%,80%,93%,53%))),
text(body: [ things.
underline()]),
parbreak() })