LaunchKit · 2026
Back to Skills

Convert Markdown text to beautifully styled, self-contained HTML with embedded CSS.

0
334 downloads
by @claudiodrusus

Setup & Installation

openclaw skills install @claudiodrusus/skill-2

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install skill-2

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.

INPUT

User asks: convert my newsletter draft newsletter.md to HTML with the dark theme

AGENT
  1. 1Locate the input file newsletter.md
  2. 2Run python main.py newsletter.md --theme dark --title "Newsletter" -o newsletter.html
  3. 3Read the output file to confirm conversion succeeded
  4. 4Return the path to the generated HTML file
OUTPUT

newsletter.html with embedded CSS dark theme, ready to open in a browser or attach to an email