Catégories

Pack Thèmes Markdown vers PDF

Convertit Markdown en PDF avec thèmes clair, sombre ou impression

Convertissez Markdown en PDF avec une typographie thématique. **Thèmes :** - Clair, sombre et impression - Code avec style de surlignage - Citations et tableaux stylés **Entrée :** - Coller du Markdown ou téléverser un fichier

Click to upload file or drag and drop file here

Maximum file size: 10MB Supported formats: text/markdown, text/plain, application/octet-stream

Documentation de l'API

Point de terminaison de la requête

POST /fr/api/tools/markdown-to-pdf-theme-pack

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)"
}
Fichier: Fichier

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]