Convert Markdown text to DOCX, PPTX, XLSX, PDF, PNG, HTML, IPYNB, MD, CSV, JSON, JSONL, XML files, and extract code blocks in Markdown to Python, Bash,JS and...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install markdown-exporter或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install markdown-exporter⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/markdown-exporter/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: markdown-exporter description: Convert Markdown text to DOCX, PPTX, XLSX, PDF, PNG, HTML, IPYNB, MD, CSV, JSON, JSONL, XML files, and extract code blocks in Markdown to Python, Bash,JS and etc files. license: Apache-2.0 metadata: author: bowenliang123 openclaw: homepage: https://github.com/bowenliang123/markdown-exporter emoji: 🖨 requires: bins: [ markdown-exporter ] install: - kind: uv package: md-exporter bins: [ markdown-exporter ] ---
Markdown Exporter is an Agent Skill that transforms your Markdown text into a wide variety of professional format files.
This SKILL.md for Agent Skills, the cli tool and Python package markdown-exporter are maintained in the GitHub repository bowenliang123/markdown-exporter by bowenliang123.
| Tool | Input (File path of Markdown text or styles) | Output (File path of exported file) | |------|-------|--------| | md_to_docx | 📝 Markdown text | 📄 Word document (.docx) | | md_to_html | 📝 Markdown text | 🌐 HTML file (.html) | | md_to_html_text | 📝 Markdown text | 🌐 HTML text string | | md_to_pdf | 📝 Markdown text | 📑 PDF file (.pdf) | | md_to_png | 📝 Markdown text | 🖼️ PNG image(s) of PDF pages | | md_to_md | 📝 Markdown text | 📝 Markdown file (.md) | | md_to_ipynb | 📝 Markdown text | 📓 Jupyter Notebook (.ipynb) | | md_to_pptx | 📝 Markdown slides in Pandoc style | 🎯 PowerPoint (.pptx) | | md_to_xlsx | 📋 Markdown tables | 📊 Excel spreadsheet (.xlsx) | | md_to_csv | 📋 Markdown tables | 📋 CSV file (.csv) | | md_to_json | 📋 Markdown tables | 📦 JSON/JSONL file (.json) | | md_to_xml | 📋 Markdown tables | 🏷️ XML file (.xml) | | md_to_latex | 📋 Markdown tables | 📝 LaTeX file (.tex) | | md_to_codeblock | 💻 Code blocks in Markdown | 📁 Code files by language (.py, .js, .sh, etc.) |
Markdown Exporter is available as a PyPI package, which provides a seamless command-line interface for all its functionality.
# with pip
pip install md-exporter
# with uv
uv tool install md-exporter
# on OpenClaw
npx clawhub install markdown-exporter
Check markdown-exporter command and usages:
markdown-exporter -h
markdown-exporter <subcommand> -h
Use the markdown-exporter command to access all the tools:
markdown-exporter <subcommand> <args> [options]
Converts Markdown tables to CSV format file.
Usage:
markdown-exporter md_to_csv <input> <output> [options]
Arguments:
input - Input Markdown file path containing tablesoutput - Output CSV file pathOptions:
--strip-wrapper - Remove code block wrapper if presentExamples:
```bash markdown-exporter md_to_csv /path/input.md /path/output.csv ``` This converts all tables in the input Markdown file to CSV format.
```bash markdown-exporter md_to_csv /path/input.md /path/output.csv --strip-wrapper ``` This removes any code block wrappers (```) before processing the Markdown.
Sample Markdown Input: Use the "Basic Text and Tables" example from the Sample Markdown Inputs - Basic Text and Tables section below.
---
Converts Markdown text to PDF format with support for Chinese, Japanese, and other languages.
Usage:
markdown-exporter md_to_pdf <input> <output> [options]
Arguments:
input - Input Markdown file pathoutput - Output PDF file pathOptions:
--strip-wrapper - Remove code block wrapper if presentExamples:
```bash markdown-exporter md_to_pdf /path/input.md /path/output.pdf ``` This converts the entire Markdown file to a PDF document.
```bash markdown-exporter md_to_pdf /path/input.md /path/output.pdf --strip-wrapper ``` This removes any code block wrappers (```) before processing the Markdown.
Sample Markdown Input: Use the "Basic Text and Tables" example from the Sample Markdown Inputs - Basic Text and Tables section below.
---
Converts Markdown text to DOCX format file.
Usage:
markdown-exporter md_to_docx <input> <output> [options]
Arguments:
input - Input Markdown file pathoutput - Output DOCX file pathOptions:
--template - Path to DOCX template file (optional)--strip-wrapper - Remove code block wrapper if presentExamples:
```bash markdown-exporter md_to_docx /path/input.md /path/output.docx ``` This converts the entire Markdown file to a DOCX document.
```bash markdown-exporter md_to_docx /path/input.md /path/output.docx --template /path/template.docx ``` This uses a custom DOCX template for styling.
```bash markdown-exporter md_to_docx /path/input.md /path/output.docx --strip-wrapper ``` This removes any code block wrappers (```) before processing the Markdown.
Sample Markdown Input: Use the "Basic Text and Tables" example from the Sample Markdown Inputs - Basic Text and Tables section below.
---
Converts Markdown tables to XLSX format with multiple sheets support.
Usage:
markdown-exporter md_to_xlsx <input> <output> [options]
Arguments:
input - Input Markdown file path containing tablesoutput - Output XLSX file pathOptions:
--force-text - Convert cell values to text type (default: True)--strip-wrapper - Remove code block wrapper if presentExamples:
```bash markdown-exporter md_to_xlsx /path/input.md /path/output.xlsx ``` This converts all tables in the input Markdown file to an XLSX workbook, with each table on a separate sheet.
```bash markdown-exporter md_to_xlsx /path/input.md /path/output.xlsx --strip-wrapper ``` This removes any code block wrappers (```) before processing the Markdown.
```bash markdown-exporter md_to_xlsx /path/input.md /path/output.xlsx --force-text False ``` This allows Excel to automatically determine cell types.
Sample Markdown Input: Use the "Basic Text and Tables" example from the Sample Markdown Inputs - Basic Text and Tables section below.
---
Converts Markdown text to PPTX format file.
Usage:
markdown-exporter md_to_pptx <input> <output> [options]
Arguments:
input - Input Markdown file pathoutput - Output PPTX file pathOptions:
--template - Path to PPTX template file (optional)Examples:
...
安装 Markdown Exporter 后,可以对 AI 说这些话来触发它
Help me get started with Markdown Exporter
Explains what Markdown Exporter does, walks through the setup, and runs a quick demo based on your current project
Use Markdown Exporter to convert Markdown text to DOCX, PPTX, XLSX, PDF, PNG, HTML, IPYNB, M...
Invokes Markdown Exporter with the right parameters and returns the result directly in the conversation
What can I do with Markdown Exporter in my documents & notes workflow?
Lists the top use cases for Markdown Exporter, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/markdown-exporter/ 目录(个人级,所有项目可用),或 .claude/skills/markdown-exporter/(项目级)。重启 AI 客户端后,用 /markdown-exporter 主动调用,或让 AI 根据上下文自动发现并使用。
Markdown Exporter 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Markdown Exporter 可免费安装使用。请查阅仓库了解许可证信息。
Convert Markdown text to DOCX, PPTX, XLSX, PDF, PNG, HTML, IPYNB, MD, CSV, JSON, JSONL, XML files, and extract code blocks in Markdown to Python, Bash,JS and...
Markdown Exporter 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Markdown Exporter
Identifies repetitive steps in your workflow and sets up Markdown Exporter to handle them automatically