1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
--- 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() })
|