What problem does it solve?
Long markdown specs, RFCs, reports, and plans are hard to navigate and share as plain text. This Skill converts them into a single self-contained HTML file with a sticky table of contents, scrollspy, section search, and code-copy buttons, styled with your design-system brand tokens.
Core Features & Use Cases
- Three-stage stdlib pipeline: markdown_parser.py parses markdown into a JSON AST, html_renderer.py renders it with your 12 derived CSS brand tokens, and interactivity_injector.py adds vanilla-JS search, copy, smooth-scroll, and scrollspy behavior.
- Single-file output: All CSS and JS are inlined; the only externals are Google Fonts and Prism.js CDN, with graceful fallbacks if either is blocked.
- Design-system integration: Reads the onboarding config via config_loader.py and refuses to render until design-system onboarding is complete, ensuring WCAG AA contrast and brand-consistent typography.
- Use Case: Convert a 400-line engineering RFC markdown file into a branded, navigable HTML document you can email or host on any static server.
Quick Start
Ask the AI to convert your markdown spec or report into a single interactive HTML document using the md-document skill after design-system onboarding is complete.