typst-0.9: test/typ/text/raw-code-02.out
--- parse tree ---
[ Code
"typ/text/raw-code-02.typ"
( line 1 , column 2 )
(Set
(Ident (Identifier "page"))
[ KeyValArg (Identifier "width") (Literal (Numeric 180.0 Pt)) ])
, SoftBreak
, Code
"typ/text/raw-code-02.typ"
( line 2 , column 2 )
(Set
(Ident (Identifier "text"))
[ NormalArg (Literal (Numeric 6.0 Pt)) ])
, ParBreak
, RawBlock "py" "import this\n\ndef hi():\n print(\"Hi!\")"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
parbreak(),
raw(block: true,
lang: "py",
text: "import this\n\ndef hi():\n print(\"Hi!\")"),
parbreak() })