Skip to content

Instantly share code, notes, and snippets.

@siddhpant
Created October 2, 2020 15:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Typora change page margins on PDF export
@media print {
#write{
max-width: 100%;
}
@page {
size: A4;
margin-left: 0;
margin-right: 0;
}
}
@siddhpant
Copy link
Author

This is obsolete now. In new version, you can go to PDF export settings and change the margins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment