Skip to content
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

feat(css): Hide header and markdown border in print view #640

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joostdecock
Copy link

This adds CSS scoped to print media to hide the header and border around the markdown body.

I love this markdown preview, and I use it all the time. Often, to draft a document that I then print to PDF. Each time, I need to manually override the style to remove the header and border when printing, so I figured I'm perhaps not the only one so I would fix this.

This does only impact the style when printing.

This adds CSS scoped to print media to hide the header and border around
the markdown body.

I love this markdown preview, and I use it all the time. Often, to draft
a document that I then print to PDF. Each time, I need to manually
override the style to remove the header and border when printing, so I
figured I'm perhaps not the only one so I would fix this.

This does only impact the style when printing.
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