pdf

componentv1.0.0

Generate PDF documents from HTML or plain text via pdfkit

Usage

This is a built-in component — it ships with kdeps and requires no installation. Use it directly in your workflow resource:

run: pdf: # see README for options

See the kdeps CLI docs for full component configuration reference.

README

pdf

Generate PDF documents from HTML or plain text content. Built-in kdeps component.

Uses Python pdfkit (wkhtmltopdf under the hood). Installed automatically by kdeps.

Usage

run:
  component:
    name: pdf
    with:
      content: "<h1>Report</h1><p>Generated by kdeps.</p>"
      outputFile: /tmp/report.pdf

Inputs

NameRequiredDefaultDescription
contentyesHTML or plain text to convert
outputFileno/tmp/output.pdfOutput PDF path

Versions

VersionPublishedStatus
1.0.04/12/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.0.0
Published
4/12/2026

Tags

pdfdocumentgenerationhtml