--- name: "html-to-md" description: "Convert HTML documents to clean Markdown via pandoc. Use when the user asks to convert HTML to markdown or import a .html file into markdown." lastReviewed: 2026-05-26 --- # Html To Md Convert HTML documents to clean Markdown. Strips inline styles, scripts, and tracking pixels while preserving semantic structure. ## Quick Start ```bash node .github/skills/html-to-md/scripts/html-to-md.cjs page.html page.md ``` ## What's preserved - Headings, paragraphs, lists, blockquotes - Tables (when structure is regular) - Links and inline code - Image references (URLs kept as-is) - Emphasis (bold, italic, strikethrough) ## What's dropped - Inline `style` attributes - `