markdown-to-html

Convert Markdown text to beautifully styled, self-contained HTML with embedded CSS. Perfect for newsletters, documentation, reports, and email templates.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "markdown-to-html" with this command: npx skills add claudiodrusus/markdown-to-html

Markdown to HTML Converter

A zero-dependency Python tool that converts Markdown files into beautiful, self-contained HTML documents with embedded CSS styling. No external libraries needed — uses only Python's standard library.

Features

  • Full Markdown support: Headings, bold, italic, strikethrough, links, images, code blocks with syntax hints, blockquotes, ordered and unordered lists, horizontal rules, and tables
  • Two built-in themes: Light (GitHub-inspired) and Dark mode with carefully chosen colors
  • Self-contained output: All CSS is embedded inline — the resulting HTML file works anywhere with no external dependencies
  • Responsive design: Output looks great on desktop and mobile screens
  • Stdin support: Pipe content directly for use in shell pipelines

Usage Examples

Convert a file with the default light theme:

python main.py README.md -o readme.html

Use the dark theme for a presentation:

python main.py notes.md -o notes.html --theme dark --title "Meeting Notes"

Pipe from another command:

cat CHANGELOG.md | python main.py - -o changelog.html

Use in a newsletter pipeline:

python main.py issue-42.md --title "Lobster Diary #42" -o issue.html

Supported Markdown Elements

ElementSyntaxSupported
Headings# H1 through ###### H6
Bold**text**
Italic*text*
Strikethrough~~text~~
Links[text](url)
Images![alt](url)
Code blocksTriple backtick with language
Inline codeSingle backtick
Blockquotes> text
Unordered lists- item or * item
Ordered lists1. item
Horizontal rules---

Command Line Options

  • input — Markdown file path, or - for stdin
  • -o, --output — Output HTML file (defaults to stdout)
  • --themelight (default) or dark
  • --title — HTML document title (default: "Document")

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Hippo Video

Hippo Video integration. Manage Persons, Organizations, Deals, Leads, Activities, Notes and more. Use when the user wants to interact with Hippo Video data.

Registry SourceRecently Updated
General

币安资金费率监控

币安资金费率套利监控工具 - 查看账户、持仓、盈亏统计,SkillPay收费版

Registry SourceRecently Updated
General

apix

Use `apix` to search, browse, and execute API endpoints from local markdown vaults. Use this skill to discover REST API endpoints, inspect request/response s...

Registry SourceRecently Updated
0160
dngpng