Markdown to PDF
pdf_from_markdownGenerate a PDF from a Markdown file on A4 or Letter pages, preserving headings, lists, tables, code, and links.
Instructions
Typeset a Markdown file (headings, paragraphs, lists, tables, code, links) as a PDF on A4 or Letter pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to a Markdown file (.md) inside an allowed folder. | |
| title | No | ||
| output | Yes | Path for the new PDF, inside an allowed folder. Must not exist yet; superPDF never overwrites files. | |
| page_size | No | A4 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| pages | Yes | ||
| output | Yes |