Export to PDF and HTML
cvwonder generate produces HTML by default. Pass --format (or -f) to pick the format.
HTML is the default, so the flag is optional:
cvwonder generate --input=cv.yml --output=generated/The result is generated/cv.html with the theme’s css/ and images/ folders next to it.
cvwonder generate --input=cv.yml --output=generated/ --format=pdfCV Wonder first generates the HTML file, then prints it to PDF with a headless Chrome driven by the rod Go package. A Chrome or Chromium must therefore be available on the machine; the Docker image includes one.
PDF generation uses a local port (default 9889). If it is already taken, choose another one with --port.
Missing a format?
Section titled “Missing a format?”Open a feature request to ask for it.