What problem does it solve?
Converting Markdown source files into clean, structured HTML for web pages, documentation, previews, or static site output can be repetitive and error-prone when handling different Markdown flavors, code highlighting, math, and templates. This skill centralizes conversion best practices and workflows so contributors and developers can reliably produce consistent HTML from Markdown content.
Core Features & Use Cases
- Flexible Conversions: Single-file and batch conversions using marked, pandoc, or gomarkdown, with options for CommonMark and GitHub Flavored Markdown.
- Static Site Integration: Workflows and templates for Hugo and Jekyll, including full-page wrapping, front matter handling, and resource linking.
- Preservation & Safety: Correct handling of headings, tables, code blocks, collapsed sections, and math; guidance to sanitize untrusted output using DOMPurify or Bluemonday.
- Developer Workflows: CLI and Node.js examples, Node script patterns for batch processing, and recommendations for Go and pandoc toolchains.
Quick Start
Convert README.md to a sanitized HTML file using GFM rules and wrap the result in a simple site template.