diff --git a/core/src/main/resources/render/html-wrapper.html b/core/src/main/resources/render/html-wrapper.html index 10e8d992..ba4c952f 100644 --- a/core/src/main/resources/render/html-wrapper.html +++ b/core/src/main/resources/render/html-wrapper.html @@ -160,6 +160,13 @@ transform: rotate(-90deg) translateX(-50%); } + .reveal { + [[if:PAGESIZE]] + width: [[PAGEWIDTH]]; + height: [[PAGEHEIGHT]]; + [[endif:PAGESIZE]] + } + @page { [[if:PAGESIZE]] size: [[PAGEWIDTH]] [[PAGEHEIGHT]]; [[endif:PAGESIZE]] diff --git a/stdlib/src/main/kotlin/eu/iamgio/quarkdown/stdlib/Document.kt b/stdlib/src/main/kotlin/eu/iamgio/quarkdown/stdlib/Document.kt index a54a8f5f..b67d0f0f 100644 --- a/stdlib/src/main/kotlin/eu/iamgio/quarkdown/stdlib/Document.kt +++ b/stdlib/src/main/kotlin/eu/iamgio/quarkdown/stdlib/Document.kt @@ -146,7 +146,7 @@ fun theme( * @param format standard size format of each page (overrides [width] and [height]) * @param width width of each page * @param height height of each page - * @param margin blank space around the content of each page + * @param margin blank space around the content of each page. Only supported in paged mode. * @throws IllegalArgumentException if both [format] and either [width] or [height] are not `null` */ @Name("pageformat")