skill-2
由 claudiodrusus 提供
Web & Frontend Development简介
Convert Markdown text to beautifully styled, self-contained HTML with embedded CSS.
描述
该技能的功能
Converts Markdown files to self-contained HTML documents using only Python's standard library. Supports light and dark themes, full Markdown element coverage, and stdin piping for shell integration.
Zero external dependencies means it runs anywhere Python is available without a virtualenv or package install step.
何时使用
- Converting a README into a shareable HTML page
- Generating styled HTML emails from Markdown drafts
- Building a newsletter issue from a Markdown source file
- Producing dark-themed documentation for internal reports
- Batch-converting changelogs to HTML in a CI pipeline
示例工作流
User asks: convert my newsletter draft newsletter.md to HTML with the dark theme
- 1
Locate the input file newsletter.md
- 2
Run python main.py newsletter.md --theme dark --title "Newsletter" -o newsletter.html
- 3
Read the output file to confirm conversion succeeded
- 4
Return the path to the generated HTML file
newsletter.html with embedded CSS dark theme, ready to open in a browser or attach to an email
安装
clawhub install claudiodrusus/skill-2运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。