PDF Tools
Convert Markdown File to PDF
Converts Markdown files into PDFs. Useful for generated reports, documentation exports, and formatted document output.
Uses
Use this task for converting a markdown file to a PDF file.
Basic Usage
Parameters Explained
files required array
An array of markdown file objects to be converted to PDFs.
function required string
The pdf_tools function to call, in this case it would be md_to_pdf
Result
The newly created files are returned in files. The same files are returned in attachments, which adds them to the stub's attachments.