aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-03-16 10:22:07 -0700
committerJohn MacFarlane <[email protected]>2024-03-16 10:26:14 -0700
commitea3719818b4d70577623c9a81e31b6baa5ea9e2f (patch)
tree11e293ee87ac45c70d2f0e653d72792a82092601 /src
parentad1e979c92de93dd4dcc399756bc5220c8dd0bd5 (diff)
Typst writer: don't add inset to tables.
This hardcoded `inset` prevented global customizations in a template. Closes #9580.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/Typst.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Typst.hs b/src/Text/Pandoc/Writers/Typst.hs
index 515f0bee7..007e0881e 100644
--- a/src/Text/Pandoc/Writers/Typst.hs
+++ b/src/Text/Pandoc/Writers/Typst.hs
@@ -183,7 +183,6 @@ blockToTypst block =
$$ nest 2
( "columns: " <> text (show numcols) <> "," -- auto
$$ "align: (col, row) => " <> alignarray <> ".at(col),"
- $$ "inset: 6pt" <> ","
$$ hsep (map ((<>",") . brackets) headers')
$$ vcat (map (\x -> brackets x <> ",") (concat rows'))
)