diff options
| author | John MacFarlane <[email protected]> | 2025-08-03 15:18:32 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-08-03 15:20:11 -0700 |
| commit | bc3a8a663d722a654fa13d16dfb10c790b4020e1 (patch) | |
| tree | b9cde78ccb3cf5548c29bbcc961fd7ce6af36b04 /test/command | |
| parent | c7ec476848d67ecb41bdc19fa53dabe42a85c875 (diff) | |
Typst reader: handle inline-level show rules on block content.
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.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/11017.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command/11017.md b/test/command/11017.md new file mode 100644 index 000000000..07f3aca6f --- /dev/null +++ b/test/command/11017.md @@ -0,0 +1,9 @@ +``` +% pandoc -t markdown -f typst +#show heading: smallcaps + += Introduction +^D +# [Introduction]{.smallcaps} + +``` |
