mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-17 17:39:54 +08:00
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.
This commit is contained in:
@@ -203,7 +203,8 @@ Pandoc
|
||||
[ Underline
|
||||
[ Link
|
||||
( "" , [] , [] )
|
||||
[ Strong
|
||||
[ SoftBreak
|
||||
, Strong
|
||||
[ Str "Typst"
|
||||
, Space
|
||||
, Str "Math"
|
||||
@@ -212,6 +213,7 @@ Pandoc
|
||||
, Space
|
||||
, Str "Undergrads"
|
||||
]
|
||||
, SoftBreak
|
||||
]
|
||||
( "https://github.com/johanvx/typst-undergradmath"
|
||||
, ""
|
||||
|
||||
Reference in New Issue
Block a user