| name | prose-polish |
| description | Convert markdown to HTML/RST/DOCX/PDF/etc. via pandoc. Use when: the user wants a different document format. NOT for: editing prose content (just write_file). |
| metadata | {"all_agents":{"emoji":"✒️","requires":{"bins":["pandoc"]}}} |
Prose Polish (pandoc)
run_command { command: "pandoc -f markdown -t html < input.md > output.html" }
Common conversions
| To | Command flag |
|---|
| HTML | -t html |
| RST | -t rst |
| DOCX | -t docx -o output.docx (binary — must use -o) |
| PDF | -t pdf -o output.pdf (requires LaTeX) |
| Plain | -t plain |
For binary outputs always use -o rather than stdout redirection.