Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计通过

kip2-markdown-to-htmlkip2 Markdown TO HTML 控制

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

5,239

周安装

214

GitHub Stars

1

下载量

1,695
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:kip2-markdown-to-html(kip2 Markdown TO HTML 控制)
来源仓库:https://github.com/mutour/kip2-markdown-to-html
安装命令:
openclaw skills install kip2-markdown-to-html
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install kip2-markdown-to-html

简介

kip2-markdown-to-html 将 Markdown 文件或字符串转换为精美 HTML 文档,支持自定义模板与样式。

  • 适合辅助文档、README、说明文和内容稿件的整理与改写,提升内容可读性。
  • 可提炼结构、统一术语、检查链接,并将零散材料组织成规范文档。
  • 安装命令:openclaw skills install kip2-markdown-to-html,需保留项目已有事实与路径。
  • 涉及对外文案时应控制语气,避免过度营销或夸大能力描述。

SKILL.md

name
markdown-to-html
description
Convert a Markdown file or raw Markdown string into a polished HTML document. Supports custom Pandoc HTML templates, custom CSS, and includes built-in HTML template themes. Use this skill when the user asks to export Markdown to HTML, generate a beautiful web page from Markdown, or render Markdown into a branded standalone HTML file.

Markdown To HTML

Use this skill when the user wants a Markdown file or Markdown string converted into a polished HTML page.

What this skill provides

  • Deterministic conversion through pandoc
  • Input from either a Markdown file or a raw Markdown string
  • Custom HTML template support through --template /path/to/template.html
  • Custom CSS support through --css /path/to/file.css
  • Built-in HTML themes in assets/templates/ and assets/styles/
  • Optional table of contents, numbered headings, metadata, and embedded assets

Quick workflow

  1. Choose the input source.

File input: pass --input-file /abs/path/file.md Raw string input: pass --markdown '...'

  1. Choose a layout.

Use --template for a fully custom Pandoc HTML template. Otherwise use --builtin-template.

  1. Optionally add one or more CSS files with --css.
  2. Set output with --output /abs/path/output.html.
  3. Optional layout flags:

Use --toc to render a table of contents panel. Use --no-body-background to remove the article card background, border, and shadow.

Built-in templates

  • docs-slate: technical docs layout with restrained slate tones
  • magazine-amber: editorial landing-page feel with warm contrast
  • product-midnight: dark product narrative with stronger gradients
  • serif-paper: print-inspired article layout

List them at runtime with:

python3 scripts/markdown_to_html.py --list-templates

Main command

python3 scripts/markdown_to_html.py \
  --input-file /abs/path/source.md \
  --output /abs/path/output.html \
  --builtin-template docs-slate \
  --toc \
  --number-sections \
  --embed-assets

Raw string example

python3 scripts/markdown_to_html.py \
  --markdown '# Release Notes\
\
- Added HTML export\
- Added built-in themes' \
  --output /abs/path/release.html \
  --builtin-template magazine-amber \
  --title 'Release Notes'

Template rules

  • --template overrides --builtin-template
  • Built-in templates automatically include their matching built-in CSS
  • Extra --css files are appended after the built-in CSS, so local overrides win
  • --number-sections enables Pandoc heading numbering in the generated HTML
  • When --number-sections is enabled, avoid manually writing heading prefixes like 1., 2.1, or 3.2 inside the Markdown heading text, or the output will show duplicated numbering such as 1.2.1 2.1 Title
  • When --toc is omitted, the built-in templates render only the article body and expand it to the full content width
  • --no-body-background removes the article panel background, border, and shadow while keeping the overall page theme

Bundled files

  • Converter: scripts/markdown_to_html.py
  • Built-in templates: assets/templates/*.html
  • Built-in CSS themes: assets/styles/*.css

Notes

  • This skill expects pandoc to be installed and available on PATH
  • Custom templates should be valid Pandoc HTML templates and include $body$
  • If you want a table of contents without visible heading numbers in the HTML body, use --toc without --number-sections

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.42%
按下载量换算1,194

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills