In Claude (connector)install_skill("markdown-to-webpage")
CLIlendskill install markdown-to-webpage
SKILL.md
---
name: markdown-to-webpage
description: Turn a Markdown document — a spec, report, README or notes — into one polished, self-contained HTML page with a sticky table of contents, readable typography, syntax-highlighted code, responsive layout and print styles. Use when the user wants Markdown made into a shareable web page.
license: Proprietary — Lendskill original
---
# Markdown to Web Page
## Steps
1. **Parse** the Markdown, including tables, task lists, code blocks and footnotes. Keep the content exactly; do not rewrite it unless asked.
2. **Structure**: the first H1 becomes the title; H2/H3 build a table of contents with anchor links, sticky on wide screens and collapsible on mobile.
3. **Typography**: a readable measure (65–75 characters), comfortable line height, a clear heading scale, system fonts or one web font.
4. **Code**: syntax highlighting, a copy button, horizontal scroll for long lines.
5. **Extras**: callouts for blockquotes starting with Note/Warning/Tip, responsive tables, figure captions for images.
6. **Light and dark** theme following the reader's system setting.
7. **Print styles**: hide navigation, avoid breaking inside code blocks and tables, show link URLs.
8. **Self-contained**: all CSS and JS inline; images embedded or linked with absolute URLs.
## Output format
One `index.html` file, and a short note on how to change the colours and fonts.