Last active
July 26, 2016 15:52
-
-
Save tszpinda/11168857 to your computer and use it in GitHub Desktop.
wkhtmltopdf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
Test: Random text | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body style="background-color: red;color:white"> | |
<b>Header</b> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wkhtmltopdf --header-html /opt/wkhtmltopdf/tests/header.html /opt/wkhtmltopdf/tests/example.html /opt/wkhtmltopdf/tests/example.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment