typora_export_pdf
Export Markdown files or raw Markdown text to styled PDFs with Typora CSS themes and headless browser rendering; specify a required output path.
Instructions
Export Markdown content or an input Markdown file directly to a styled PDF using Typora CSS themes and synchronous headless browser rendering with valid file URIs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"output_path": "<output_path>"
},
"name": "typora_export_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Typora theme to use for PDF styling (e.g. 'github', 'night', 'newsprint', 'pixyll', 'whitey'). Defaults to the active Typora theme. | |
| content | No | Direct Markdown text to convert (used if input_path is not specified). | |
| input_path | No | Path to the source Markdown file to convert to PDF. | |
| output_path | Yes | Required destination PDF file path. |