md-to-html
Installation
SKILL.md
Skill: md-to-html
WHAT
Purpose và context
- Purpose: Markdown → self-contained HTML: Mermaid diagrams, Chart.js, styled tables, code highlight, floating TOC.
- Trigger (when to use):
- Render/share
.mdas HTML - Doc has steps, comparisons, numbers to visualize
- Need browser-ready professional output
- Trigger phrases:
/md-to-html,md2html,biến md thành html,render md,xuất html từ md,visualize doc
- Render/share
- Non-goals: không sửa nội dung file
.mdnguồn; không ghi HTML cạnh file.mdnguồn; không phải site tài liệu nhiều trang có thiết kế riêng (đó làdocs-site-macos).
Mental model
file .md → (template đầy đủ ngoài) → HTML standalone (Mermaid · Chart.js · bảng · code highlight · TOC) + output requirements bắt buộc → html/<tên>.html → output report draft.