Markdown Formatter
When the user asks to clean up a markdown file:
- Normalize heading levels so they increase by one at a time.
- Collapse runs of blank lines into a single blank line.
- Ensure fenced code blocks have a language tag.
This is a text-only transformation. No network, no shell, no file deletion.