packages feed

typst-0.9: test/typ/layout/list-marker-02.out

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/layout/list-marker-02.typ"
    ( line 2 , column 2 )
    (Set
       (Ident (Identifier "list"))
       [ KeyValArg
           (Identifier "marker")
           (FuncExpr
              [ NormalParam (Identifier "n") ]
              (If
                 [ ( Equals (Ident (Identifier "n")) (Literal (Int 1))
                   , Block (Content [ EnDash ])
                   )
                 , ( Literal (Boolean True) , Block (Content [ Text "\8226" ]) )
                 ]))
       ])
, SoftBreak
, BulletListItem [ Text "A" ]
, SoftBreak
, BulletListItem
    [ Text "B"
    , SoftBreak
    , BulletListItem [ Text "C" ]
    , SoftBreak
    , BulletListItem
        [ Text "D" , SoftBreak , BulletListItem [ Text "E" ] ]
    ]
, SoftBreak
, BulletListItem [ Text "F" ]
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: [
]), 
                 list(children: (text(body: [A]), 
                                 { text(body: [B
]), 
                                   list(children: (text(body: [C]), 
                                                   { text(body: [D
]), 
                                                     list(children: (text(body: [E])), 
                                                          marker: ) }), 
                                        marker: ) }, 
                                 text(body: [F])), 
                      marker: ) })