← 返回 Skills 市场
mutour

markdown-export

作者 King · GitHub ↗ · v0.5.0 · MIT-0
cross-platform ✓ 安全检测通过
190
总下载
1
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install markdown-export
功能描述
Convert a Markdown file or raw Markdown string into polished DOCX or HTML output from one unified skill. Supports custom DOCX reference templates, custom Pan...
安全使用建议
This skill appears to do what it claims: it runs the included Python script and calls your local pandoc to produce DOCX/HTML using bundled or user-supplied templates/CSS. Before using it: ensure pandoc is installed and trusted; only pass trusted custom templates (reference.docx / Pandoc templates) because the script unzips and edits .docx files; avoid running it on untrusted Markdown if your pandoc setup uses external filters or custom executables (those could execute code); and review the bundled script if you want to confirm there are no network calls or other behaviors not covered here. If you need a deeper audit, provide the rest of scripts/export_markdown.py (full file was truncated) so I can check for subtle calls (network, subprocess with unescaped input, or unexpected file accesses).
功能分析
Type: OpenClaw Skill Name: markdown-export Version: 0.5.0 The skill is a legitimate utility for converting Markdown files or strings into DOCX and HTML formats using Pandoc. The core logic in `scripts/export_markdown.py` uses subprocess.run with a list of arguments to safely invoke the Pandoc CLI, and it includes specialized XML manipulation logic to enhance code block styling within DOCX files. No evidence of data exfiltration, shell injection, or malicious prompt injection was found; all file operations and system calls are consistent with the stated purpose of document conversion.
能力评估
Purpose & Capability
The name/description match the included assets: a Python converter (scripts/export_markdown.py), built-in HTML/CSS templates, and DOCX template metadata. The skill correctly documents that pandoc must be on PATH — that is proportionate to exporting Markdown to DOCX/HTML.
Instruction Scope
SKILL.md only instructs running the bundled Python script with local file paths and template choices. The runtime behavior described (reading Markdown from a file or raw string, applying templates/CSS, writing docx/html output) matches the code and templates. There are no instructions to read unrelated system files or to send data externally.
Install Mechanism
There is no install spec (instruction-only + bundled script), so nothing is downloaded or written during installation. The only external dependency is pandoc on PATH, which is documented in SKILL.md.
Credentials
The skill declares no environment variables, no credentials, and no config paths. The code uses local filesystem, zip/xml manipulation (for .docx templates), and subprocess to invoke pandoc only — all expected for this functionality.
Persistence & Privilege
The skill is not always-enabled and does not request any elevated platform privileges. It does not modify other skills or global agent settings in the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install markdown-export
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /markdown-export 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.5.0
- Adds new HTML layout controls: optional TOC panel and plain article body rendering via `--no-body-background` and flexible TOC inclusion. - Updates documentation to include new examples for HTML export without TOC card or background. - Enhances HTML template and CSS support for full-width body and panel-less layouts based on user options. - Removes unused agents/openai.yaml configuration. - Various template and style updates for consistency across all HTML built-in themes.
v0.4.0
- No user-facing changes. - Internal changes likely made to scripts/export_markdown.py with no documentation updates.
v0.3.0
- Localized sample Markdown examples updated to use English instead of Chinese. - Example commands in documentation now feature English content and field names. - No changes to core functionality; updates are for clarity and accessibility.
v0.2.0
- Updated all command-line usage examples to remove absolute paths and use `scripts/export_markdown.py` relative paths instead. - No changes to syntax, features, or behavior—documentation update only.
v0.1.0
Initial release of the markdown-export skill for unified Markdown conversion. - Export Markdown source to DOCX, HTML, or both from one CLI command. - Supports built-in and custom templates for both DOCX (reference.docx) and HTML (Pandoc template + CSS). - Accepts input from either a Markdown file or a raw Markdown string. - Optional features include built-in templates, table of contents, numbered headings, metadata, and resource paths. - Lists available templates per format, with example usage provided for each scenario. - Requires Pandoc to be installed and available in the system PATH.
元数据
Slug markdown-export
版本 0.5.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

markdown-export 是什么?

Convert a Markdown file or raw Markdown string into polished DOCX or HTML output from one unified skill. Supports custom DOCX reference templates, custom Pan... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 190 次。

如何安装 markdown-export?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install markdown-export」即可一键安装,无需额外配置。

markdown-export 是免费的吗?

是的,markdown-export 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

markdown-export 支持哪些平台?

markdown-export 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 markdown-export?

由 King(@mutour)开发并维护,当前版本 v0.5.0。

💬 留言讨论