-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you add a page break tag? #30
Comments
Have you tried https://stackoverflow.com/a/21270036 |
This does not work as it should.
|
Works great for me. I just tested it. |
Here is a gist to demonstrate how to do it: https://gist.github.com/xHN35RQ/c9cd616acc4b9bfb93ac |
Thanks for that gist, @xhn35rq. I'd like to add this functionality to |
I don't see any reason to add this. If you want to print to physical printer or to PDF, then you're much better off using pandoc's Tufte template and writing your content in Latex, Markdown, or any other input that pandoc accepts. Here's an example of using Pandoc to convert from Multi-Markdown to PDF using Tufte Latex to create Tufte styled PDF's - http://plaintextadventure.com/blog/instant-pdfs-via-right-click.html Much better option than printing HTML/CSS from web browser. |
All excellent points. |
👍 |
It turns out the problem was with Safari. Somehow, Safari does not get the correct information about the page size of the printer. Things work nicely with Firefox. |
I would like to force pagebreaks when I print a web page with this style.
I tried a few suggestions, e.g.
http://www.htmlgoodies.com/beyond/css/article.php/3470341/CSS-and-Printing.htm
But I could not make any of these work.
Could you consider adding such a style tag?
The text was updated successfully, but these errors were encountered: