md_format
Fix Markdown inconsistencies by normalizing fence spacing and blank lines around tables/headings. Preserves all content while keeping Wiki and Sublime Text previews consistent.
Instructions
Normalize an existing .md file (fence spacing, blank lines around tables/headings) without removing content. Keeps Wiki + Sublime preview consistency.
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": {
"inputPath": "<inputPath>"
},
"name": "md_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inPlace | No | If true (default), overwrite the same file; otherwise write beside it as *.formatted.md. | |
| inputPath | Yes | Markdown file to normalize. |