format-markdown
Installation
SKILL.md
Markdown Formatter
Markdown formatting skill with two layers of processing:
- Content formatting: analyze content, improve readability, and add metadata or structural aids when needed.
- Structural compatibility fixing: apply mkdocs/material-safe spacing fixes for math, list, and table blocks without rewriting text content.
You MUST follow the workflow in the Workflow section below and must not skip required steps.
Core Principles
- Preserve original meaning and wording as much as possible.
- In content-formatting mode (Steps 2-5), metadata and structural aids may be added, such as title, summary, headings, emphasis, lists, tables, and admonitions.
- In Step 6 structural-fix mode, the script performs whitespace-only changes and never rewrites text content.