walle / gimli

Utility for converting markup files to pdf files
https://github.com/walle/gimli
MIT License
538 stars 44 forks source link

Page break #59

Closed gimler closed 9 years ago

gimler commented 9 years ago

Would be great to have a page break element.

gimler commented 9 years ago

found out that this work, would be nice to have a shortcut

<hr style="page-break-after:always;visibility: hidden;" />
walle commented 9 years ago

There is a class for this in the default style.css.

.page-break

See more in issue https://github.com/walle/gimli/issues/9 and commit https://github.com/walle/gimli/commit/49e15707d3c854f19164dbb9bb31b33b0ed2aed0

So you can just write

<div class="page-break"></div>
gimler commented 9 years ago

:+1: