Markdown Tool for Openclaw

A professional-grade utility for converting Markdown-formatted text into clean HTML and other structured document formats.

dinghaibin
v1.0.0
Apr 30, 2026
0
748
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install markdown-tool

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 markdown-tool 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 Tool?

The markdown-tool is a robust document format converter designed to bridge the gap between plain text documentation and web-ready content. As a core component within the Openclaw Skills ecosystem, it provides developers and content creators with a high-performance engine for transforming Markdown text into HTML while maintaining strict adherence to formatting standards.

This tool is specifically engineered for high-fidelity conversions, supporting complex elements like syntax-highlighted code blocks, multi-level headings, and advanced GitHub Flavored Markdown extensions. It serves as an essential utility for anyone looking to automate their documentation pipelines or integrate rich text processing into their AI-driven workflows.

Markdown Tool Use Cases

  • Automatically generating web-ready index.html files from project README.md documentation.
  • Building automated static site generation pipelines within a CI/CD environment.
  • Converting dynamic Markdown content into formatted HTML for blog posts or knowledge bases.
  • Formatting raw AI-generated text into structured, syntax-highlighted documents for better readability.

How Markdown Tool Works

  1. The tool receives input through a local file path or via standard input (stdin).
  2. The engine parses the source text against the CommonMark and GitHub Flavored Markdown (GFM) specifications.
  3. Optional flags are processed to generate additional metadata, such as a Table of Contents (TOC).
  4. Code blocks are identified and processed for syntax highlighting compatibility.
  5. The final formatted output is streamed to standard output (stdout) or directed to a specific file target.

Markdown Tool Setup

To integrate this utility into your environment, use the standard installation command for Openclaw Skills. Once installed, you can verify the setup by running the help command:

# Install the markdown-tool
openclaw install markdown-tool

# Basic usage to convert a file
markdown-tool README.md > index.html

# Pipeline usage with echo
echo "# Hello World" | markdown-tool

Markdown Tool Data Schema & Taxonomy

The markdown-tool processes raw text and produces structured HTML. It organizes data based on the following taxonomy:

Element Handling Output Format
Headings Anchored for TOC <h1> through <h6>
Code Blocks Syntax Tagging <pre><code> with class names
Tables GFM Support <table> with <thead> and <tbody>
Inline Style Standard Mapping <strong>, <em>, and <code>

Metadata like Table of Contents is generated as a nested unordered list at the top of the document when the --toc flag is active.

Markdown Tool Advanced Features

  • Full GitHub Flavored Markdown (GFM) support for task lists, strikethrough, and tables.
  • Automated Table of Contents generation to improve navigation in long-form documentation.
  • Support for piped input, allowing for seamless integration with other CLI-based Openclaw Skills.
  • Built-in syntax highlighting hooks for professional-grade code presentation in technical guides.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*