make-pdf

Installation
SKILL.md

Nutrient Make PDF

Turn a Markdown or HTML file into a finished PDF through the Nutrient DWS Build API. The differentiator over local chromium --print-to-pdf or Pandoc is the output stage: the same call can emit tagged, accessible PDF/UA or archival PDF/A, and stamp a diagonal text watermark — compliance work a plain HTML-to-PDF pipeline cannot do.

Quick Start

All paths below are relative to this skill's directory (the directory containing scripts/ and assets/).

  1. Export the API key before generating (not needed for --html-only or the smoke test):
    • export NUTRIENT_API_KEY="nutr_sk_..." (the same variable the sibling document-processor-api scripts use; NUTRIENT_DWS_API_KEY is accepted as a fallback)
  2. Generate:
uv run scripts/make-pdf.py --input report.md --out report.pdf

The markdown-it-py and nutrient-dws packages are fetched automatically on first use.

Common Tasks

Installs
5
GitHub Stars
17
First Seen
Jul 25, 2026
make-pdf — pspdfkit-labs/nutrient-skills