markdown-to-html
Installation
SKILL.md
Markdown to HTML Conversion
Expert skill for converting Markdown documents to HTML using the marked.js library, or writing data conversion scripts; in this case scripts similar to markedJS/marked repository. For custom scripts knowledge is not confined to marked.js, but data conversion methods are utilized from tools like pandoc and gomarkdown/markdown for data conversion; jekyll/jekyll and gohugoio/hugo for templating systems.
The conversion script or tool should handle single files, batch conversions, and advanced configurations.
Core Workflow
- Identify the conversion need - Single file, batch, or template system
- Select the right tool - See Tool Selection Guide below
- Load the appropriate reference - Read the tool-specific reference file
- Apply conversion patterns - Use the conversion examples from references
- Handle security - Sanitize output when processing untrusted input
Tool Selection Guide
Choose the tool based on the user's environment and requirements: