Convert text to clean Markdown
When you need pasted or messy text converted to clean Markdown so you can use it in docs, CMS, or version control.
0 views0 downloads
Dependencies
--- name: convert-text-to-markdown description: "When you need pasted or messy text converted to clean Markdown so you can use it in docs, CMS, or version control." ---
Convert text to clean Markdown
Instructions
Use this skill when the user wants to get raw text into clean Markdown — e.g. pasted from Word, PDF, or email into a doc or repo. The job: consistent headings, lists, and emphasis with no broken formatting.
Instructions
- Input: Paste or receive raw text; note source if formatting is odd (Word, PDF, web).
- Structure: Detect headings (bold lines, all caps) and convert to # levels; normalize list bullets and numbers.
- Clean: Remove extra blank lines, fix broken links, escape special characters if needed.
- Output: Return clean Markdown; optionally suggest a title from the first heading.
Use case
Standardizing content formatting for use in modern CMS and documentation tools.
How to use this skill
Paste the raw text from any source (PDF, Word, Email) and the agent will format it.