mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-12 12:27:21 +00:00
bc3a8a663d
Typst allows things like `smallcaps` to be applied to block-level content like headings. This produces a type mismatch in pandoc, so before processing the output of typst-hs, we transform it, pulling the block-level elements outside of the inline-level elements. Closes #11017.
112 B
112 B
% pandoc -t markdown -f typst
#show heading: smallcaps
= Introduction
^D
# [Introduction]{.smallcaps}