joeyespo / grip

Preview GitHub README.md files locally before committing them.
MIT License
6.42k stars 423 forks source link

Support page breaks in html output #302

Open jonathanpdx opened 5 years ago

jonathanpdx commented 5 years ago

I'm trying to add pagebreaks so I can print to PDF with proper formatting as mentioned here:

https://stackoverflow.com/questions/22601053/pagebreak-in-markdown-while-creating-pdf

But when I add the following to my markdown:

<div style="page-break-after: always;"></div>

And then use grip to convert to html it gets stripped out and converted to:

<div></div>

Any suggestions?

naefp commented 1 year ago

+1 for this