Pack Thèmes Markdown vers PDF
Convertit Markdown en PDF avec thèmes clair, sombre ou impression
Documentation de l'API
Point de terminaison de la requête
Paramètres de la requête
| Nom du paramètre | Type | Requis | Description |
|---|---|---|---|
| markdownContent | textarea | Non | - |
| markdownFile | file (Téléchargement requis) | Non | - |
| theme | select | Non | - |
| baseFontSize | number | Non | - |
| pageSize | select | Non | - |
| landscape | checkbox | Non | - |
| printBackground | checkbox | Non | - |
| marginTop | number | Non | - |
| marginBottom | number | Non | - |
| marginLeft | number | Non | - |
| marginRight | number | Non | - |
| waitUntil | select | Non | - |
| waitTime | number | Non | - |
Les paramètres de type fichier doivent être téléchargés d'abord via POST /upload/markdown-to-pdf-theme-pack pour obtenir filePath, puis filePath doit être passé au champ de fichier correspondant.
Format de réponse
{
"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)"
}
Documentation de MCP
Ajoutez cet outil à votre configuration de serveur MCP:
{
"mcpServers": {
"elysiatools-markdown-to-pdf-theme-pack": {
"name": "markdown-to-pdf-theme-pack",
"description": "Convertit Markdown en PDF avec thèmes clair, sombre ou impression",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=markdown-to-pdf-theme-pack",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
Vous pouvez chaîner plusieurs outils, par ex.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 outils.
Prend en charge les liens de fichiers URL ou la codification Base64 pour les paramètres de fichier.
Si vous rencontrez des problèmes, veuillez nous contacter à [email protected]