Skip to content

@media print change - makes printed page look like the HTML #5

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

eirikeve
Copy link

Hi!

If you accept pull requests:
I did some small changes to the @media print field in the CSS, so the HTML keeps its look when printed, including code syntax highlighting and block quotes.
If Print Backgrounds is selected when printing, the output looks more or less identical to the displayed HTML. :)

Here's how file.html (along with a code block at the bottom) looks when printing: file.pdf

Printed page looks like the html is displayed,
including code highlighting, blockquotes,
and LaTeX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant