Text Processing
Vérificateur de style et lint Markdown
Vérifie le Markdown avec ~15 règles markdownlint plus 2 règles de typographie chinoise, avec rapport ligne par ligne et auto-correction en un clic
html· Résultat HTMLOuvrir l'outil
Démarrage rapide
Appelez cet outil depuis votre code en trois langages.
cURL
curl -X POST 'https://api.elysiatools.com/fr/api/tools/markdown-lint-style-checker' \
-H 'Content-Type: application/json' \
-d '{"markdown":"# Project\n\nIntro line. \n\n- item one\n* item two\n\n```\nconst x = 1\n```\n\n### Skipped h2\n\n## 使用Python3开发\n","ruleSet":"default","autoFix":true}'Référence de l'API
Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
Point d'accès
HTTP
POST https://api.elysiatools.com/fr/api/tools/markdown-lint-style-checkerParamètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| markdown | textarea | Oui | — |
| ruleSet | select | Non | — |
| autoFix | checkbox | Non | — |
Format de réponse
Résultat HTML
JSON
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Intégration MCP
Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Configuration du serveur
Ajoutez ce bloc à la configuration de votre client MCP :
mcp.json
{
"mcpServers": {
"elysiatools-markdown-lint-style-checker": {
"name": "markdown-lint-style-checker",
"description": "Vérifie le Markdown avec ~15 règles markdownlint plus 2 règles de typographie chinoise, avec rapport ligne par ligne et auto-correction en un clic",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=markdown-lint-style-checker",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Lister les outils disponibles
Après connexion au point d'accès SSE, listez les outils exposés :
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appeler cet outil
Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "markdown-lint-style-checker",
"arguments": {
"markdown": "# Project\n\nIntro line. \n\n- item one\n* item two\n\n```\nconst x = 1\n```\n\n### Skipped h2\n\n## 使用Python3开发\n",
"ruleSet": "default",
"autoFix": true
}
}
}Chaînez plusieurs outils dans une session avec une liste toolId séparée par des virgules, ex. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (20 max).