(no title)
rckclmbr | 2 years ago
markdown resume.md > resume.tmp.html
cat template/header.html resume.tmp.html template/footer.html > resume.html
cp resume.html resume.tmp.html
sed -i -e 's/"normal"/"pdf"/g' resume.tmp.html
xvfb-run -a -s "-screen 0 640x480x16" wkhtmltopdf resume.tmp.html resume.pdf
rm resume.tmp.html*
No comments yet.