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
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
| Name | Required | Default | Description |
|---|---|---|---|
| content | yes | — | HTML or plain text to convert |
| outputFile | no | /tmp/output.pdf | Output PDF path |
Versions
| Version | Published | Status |
|---|---|---|
| 1.0.0 | 4/12/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 4/12/2026
Tags
pdfdocumentgenerationhtml