Skip to content

Commit

Permalink
Support .pageformat in slides
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Jul 9, 2024
1 parent befcc70 commit b53a179
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions core/src/main/resources/render/html-wrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -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]]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b53a179

Please sign in to comment.