diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-12-09 23:23:15 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-12-09 23:23:15 -0800 |
| commit | aa9577074357c7938c5a4a7e820bd12c90c0d32b (patch) | |
| tree | e435d03c5f8868d386b41bed5dfbc5472dc2958e /src | |
| parent | d8b5541d61f7b78589c68b077cbb8fe3f927d6a2 (diff) | |
Typst writer: use quote for block quotes.
Remove custom definitiion of blockquote in default template.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Writers/Typst.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Typst.hs b/src/Text/Pandoc/Writers/Typst.hs index 6c623eb5c..0a598cb37 100644 --- a/src/Text/Pandoc/Writers/Typst.hs +++ b/src/Text/Pandoc/Writers/Typst.hs @@ -124,7 +124,7 @@ blockToTypst block = return $ contents <> blankline BlockQuote blocks -> do contents <- blocksToTypst blocks - return $ "#blockquote[" $$ chomp contents $$ "]" $$ blankline + return $ "#quote(block: true)[" $$ chomp contents $$ "]" $$ blankline HorizontalRule -> return $ blankline <> "#horizontalrule" <> blankline OrderedList attribs items -> do |
