Printing Support
Open Print-Preview for the current page:
./?printpreview
Note:
Printing support is based on the library Paged.js. Find related documentation here.
Styling
Borders
@page {
margin: 20mm 30mm;
}
Page Breaks
→ Use normal CSS rules, e.g.
h2 {
break-before: page;
}
Margin Boxes
There are predefined selectors which you can use to add text to the space around the main page content:

Example:
@page {
@top-right {
content: "My title";
}
}