Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
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.
When to use it
- 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
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: convert my newsletter draft newsletter.md to HTML with the dark theme
- 1Locate the input file newsletter.md
- 2Run python main.py newsletter.md --theme dark --title "Newsletter" -o newsletter.html
- 3Read the output file to confirm conversion succeeded
- 4Return 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