diff --git a/src/renderer.typ b/src/renderer.typ index 1a72fb2..238a0fb 100644 --- a/src/renderer.typ +++ b/src/renderer.typ @@ -449,7 +449,8 @@ ( width: auto, height: auto, - fill: config.background + fill: config.background, + margin: 0cm ) } else { (:) diff --git a/src/schema.typ b/src/schema.typ index 112540c..a3328ba 100644 --- a/src/schema.typ +++ b/src/schema.typ @@ -27,7 +27,7 @@ let lang = schema.lang let content = schema.text if not lang in valid-extensions { - let fmts = valid-extensions.map(fmt => "." + fmt).join(", ") + let fmts = valid-extensions.join(", ") fmts = "(" + fmts + ")" panic("Unsupported format '" + lang + "'. Valid formats: " + fmts) }