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 27 28
|
--- parse tree ---
[ Code
"typ/text/raw-code-03.typ"
( line 1 , column 2 )
(Set
(Ident (Identifier "page"))
[ KeyValArg (Identifier "width") (Literal (Numeric 180.0 Pt)) ])
, SoftBreak
, Code
"typ/text/raw-code-03.typ"
( line 2 , column 2 )
(Set
(Ident (Identifier "text"))
[ NormalArg (Literal (Numeric 6.0 Pt)) ])
, ParBreak
, RawBlock
"cpp"
"#include <iostream>\n\nint main() {\n std::cout << \"Hello, world!\";\n}"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
parbreak(),
raw(block: true,
lang: "cpp",
text: "#include <iostream>\n\nint main() {\n std::cout << \"Hello, world!\";\n}"),
parbreak() })
|