/

For the complete documentation index, see llms.txt. This page is also available as Markdown.

PDF export

When running Quarkdown’s compiler via quarkdown c, specifying the --pdf flag generates a PDF file.

Requirements

To generate PDF files from HTML, a Chromium-family browser is required. The recommended one is chrome-headless-shell, a lightweight, headless-only build of Chrome, although a regular installation of Chrome, Chromium, or Edge works as well.

Package managers and install scripts already take care of this dependency. If you installed Quarkdown manually, run scripts/install-chrome.sh (or scripts\install-chrome.ps1 on Windows) from the installation directory, which downloads the recommended browser version and prints the path to set via the options below. Alternatively, point Quarkdown to any Chromium-family browser you already have.

Additional options

Environment variables

Exporting manually (legacy way)

You can export an HTML artifact to PDF via the in-browser print feature (CTRL/CMD + P).

While paged (and plain) documents are print-ready, you need a few additional steps to save your slides document as PDF. Please refer to Reveal’s instructions to learn how to do so.