[html2pdf]
html2pdf is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Converts HTML into a PDF document.
- Value (
html), required: HTML markup to convert - Returns: Resolves to the generated PDF bytes
Guide: How to use [html2pdf]
JSON declaration
This is the complete declaration of html2pdf, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "html2pdf",
"description": "Converts HTML into a PDF document",
"signature": {
"input": {
"kind": "html",
"description": "HTML markup to convert",
"required": true,
"mode": "ValueOrExpression"
},
"output": {
"mode": "Value",
"kind": "pdf-content,binary-content",
"description": "Resolves to the generated PDF bytes"
}
}
}
← html2markdown |
all core slots | hyper2lambda → |