pdf_from_markdown
Compile Markdown files or raw Markdown strings into styled, publication-grade PDF reports without JSON conversion. Supports frontmatter, sections, tables, code blocks, callouts, images, and lists.
Instructions
Compile a Markdown file (.md) or raw Markdown string directly into a styled, publication-grade PDF report without needing JSON conversion. Supports YAML frontmatter, # sections, ##/### Q&A headers, code blocks, | tables |, > [!NOTE] callouts, figures, and bullet points.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Visual color theme (default: 'navy_blue'). | |
| title | No | Optional main document title (overrides YAML frontmatter or first # H1). | |
| category | No | Category banner on cover (default: 'DOKÜMAN RAPORU'). | |
| metadata | No | Optional key-value metadata pairs displayed at the bottom of the cover page. | |
| subtitle | No | Optional subtitle displayed on the cover page. | |
| description | No | Optional overview / abstract displayed in the cover summary box. | |
| output_path | Yes | File path where the generated PDF document will be saved. | |
| markdown_file | No | Path to a Markdown (.md) file to compile. Provide either 'markdown_file' or 'markdown_text'. | |
| markdown_text | No | Raw Markdown content string to compile. Provide either 'markdown_file' or 'markdown_text'. |