- This feature could be easily achieved by this:
@media print {
.some-slide-container {
page-break-after: always !important;
}
.some-slide-container:last-of-type {
page-break-after: avoid !important;
}
}
- Here is a HTML template from my legacy similar Markdown-based slideshow generator in Python
- I thought it might be a good workaround when encountering some low-version browsers by using PDF slideshow