Convert Markdown File to PDF
convert_markdown_to_pdfConvert Markdown files to styled PDFs with configurable page size and margins, supporting local paths and URLs.
Instructions
Convert a markdown file to PDF
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | PDF page format (default: A4) | |
| margin | No | PDF margins (e.g., '0.5in', '20mm') | |
| outputPath | Yes | Path where the PDF should be saved | |
| markdownPath | Yes | Path to the markdown file to convert (local path or URL) |