Created
July 22, 2022 09:03
-
-
Save ferdhika31/3c80d8481f9d76ee520ec8aba0bd9312 to your computer and use it in GitHub Desktop.
wkhtmltopdf sample
This file contains 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
<!DOCTYPE html> | |
<body> | |
<b>This is your body</b> | |
</body> | |
</html> |
This file contains 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
<!DOCTYPE html> | |
<body style="background-color: red;color:white"> | |
<b>This is Header brow!</b> | |
</body> | |
</html> |
This file contains 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 ./header.html --footer-html ./footer.html ./output-example.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment