typst-0.9: test/typ/visualize/svg-text-00.out
--- parse tree ---
[ Code
"typ/visualize/svg-text-00.typ"
( line 1 , column 2 )
(Set
(Ident (Identifier "page"))
[ KeyValArg (Identifier "width") (Literal (Numeric 250.0 Pt)) ])
, ParBreak
, Code
"typ/visualize/svg-text-00.typ"
( line 3 , column 2 )
(FuncCall
(Ident (Identifier "figure"))
[ NormalArg
(FuncCall
(Ident (Identifier "image"))
[ NormalArg (Literal (String "/assets/files/diagram.svg")) ])
, KeyValArg
(Identifier "caption")
(Block
(Content
[ Text "A" , Space , Text "textful" , Space , Text "diagram" ]))
])
, ParBreak
]
--- evaluated ---
document(body: { parbreak(),
figure(body: image(source: "/assets/files/diagram.svg"),
caption: text(body: [A textful diagram])),
parbreak() })