Markdown to PDF Theme Pack
Convert Markdown to PDF with dark, light, or print-ready themes
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| markdownContent | textarea | No | - |
| markdownFile | file (Upload required) | No | - |
| theme | select | No | - |
| baseFontSize | number | No | - |
| pageSize | select | No | - |
| landscape | checkbox | No | - |
| printBackground | checkbox | No | - |
| marginTop | number | No | - |
| marginBottom | number | No | - |
| marginLeft | number | No | - |
| marginRight | number | No | - |
| waitUntil | select | No | - |
| waitTime | number | No | - |
File type parameters need to be uploaded first via POST /upload/markdown-to-pdf-theme-pack to get filePath, then pass filePath to the corresponding file field.
Response Format
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-markdown-to-pdf-theme-pack": {
"name": "markdown-to-pdf-theme-pack",
"description": "Convert Markdown to PDF with dark, light, or print-ready themes",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=markdown-to-pdf-theme-pack",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
Supports URL file links or Base64 encoding for file parameters.
If you encounter any issues, please contact us at [email protected]