Files
John MacFarlane 372cd1d3b1 Typst reader: handle inline bodies ending in a parbreak.
E.g. `#strong[
test
]`.  Here we simply skip the final parbreak.

Treat this as a soft break, which will give results similar
to the typst app.
2024-05-27 19:46:08 -07:00

165 B

% pandoc -f typst -t native
#let foo = [
  bar baz
]
*#foo*
^D
[ Para
    [ Strong
        [ SoftBreak , Str "bar" , Space , Str "baz" , SoftBreak ]
    ]
]