Markdown to HTML for Openclaw

A professional utility for converting Markdown content into high-quality, themed HTML documents using Pandoc.

mutour
v0.5.0
Apr 11, 2026
1
924
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install kip2-markdown-to-html

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install kip2-markdown-to-html using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Markdown to HTML?

Markdown to HTML is a technical skill designed to bridge the gap between simple documentation and polished web presentation. By leveraging Pandoc, this tool provides deterministic conversion of Markdown files or raw strings into standalone HTML pages. Whether you are generating technical documentation, product landing pages, or editorial articles, this addition to Openclaw Skills ensures your content looks professional out of the box.

The skill stands out by offering a collection of built-in themes like docs-slate and magazine-amber, while still allowing for complete creative control through custom CSS and Pandoc templates. It streamlines the process of adding navigation elements like tables of contents and numbered sections, making it an essential asset for developers and technical writers utilizing Openclaw Skills.

Markdown to HTML Use Cases

  • Generating professional technical documentation from project READMEs.
  • Converting raw Markdown notes into branded standalone HTML reports.
  • Creating rapid landing pages using built-in themes like magazine-amber or product-midnight.
  • Automating the export of release notes into polished web formats.
  • Building a consistent documentation site using custom CSS and HTML templates.

How Markdown to HTML Works

  1. Select the input source, which can be either a local .md file or a raw Markdown string.
  2. Define the visual layout by choosing a built-in template or providing a custom Pandoc HTML template.
  3. Apply styling by using built-in CSS themes or appending custom CSS files to override defaults.
  4. Configure layout flags such as enabling a table of contents or numbering sections for structured navigation.
  5. Execute the conversion script to generate the final HTML output with optional asset embedding for portability.

Markdown to HTML Setup

Ensure you have pandoc installed on your system and available in your PATH. This skill is part of the Openclaw Skills ecosystem and requires the following setup:

# Check if pandoc is installed
pandoc --version

# List available built-in templates
python3 scripts/markdown_to_html.py --list-templates

# Basic conversion command
python3 scripts/markdown_to_html.py --input-file source.md --output output.html --builtin-template docs-slate

Markdown to HTML Data Schema & Taxonomy

Component Description
Converter Script scripts/markdown_to_html.py - Core logic for Pandoc integration
Templates assets/templates/*.html - Pandoc-compatible HTML structure files
Styles assets/styles/*.css - Pre-defined CSS themes for various use cases
Output Standalone .html files containing the rendered content and embedded styles

Markdown to HTML Advanced Features

  • Support for custom Pandoc templates using the $body$ variable for maximum flexibility.
  • Local CSS override system where extra CSS files are appended after built-in styles for fine-tuned branding.
  • Capability to embed all assets directly into the HTML for portable, single-file distribution.
  • Automatic table of contents generation that adapts to the chosen layout width.
  • Multi-source input handling, allowing for direct string processing without the need for temporary files.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*