Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计通过

markdown-exporterMarkdown 导出器

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

514

周安装

21

GitHub Stars

213

下载量

165
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:markdown-exporter(Markdown 导出器)
来源仓库:https://github.com/bowenliang123/markdown-exporter
仓库路径:skills/markdown-exporter
安装命令:
npx skills add https://github.com/bowenliang123/markdown-exporter --skill markdown-exporter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/bowenliang123/markdown-exporter --skill markdown-exporter

简介

markdown-exporter 将 Markdown 文本转换为多种专业格式文件,支持 Word、HTML 和 PDF 导出。

  • 适用场景包括文档转换、格式导出和样式自定义,适用于各种文档处理需求。
  • 核心能力包括多种输出格式支持、命令行工具和 Python 包集成,确保灵活的文档处理解决方案。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

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.

Tools and Supported Formats

ToolInput (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_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.)

📦 Usage

Overview

Markdown Exporter is available as a PyPI package, which provides a seamless command-line interface for all its functionality.

Installation

# 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

Basic Usage

Use the markdown-exporter command to access all the tools:

markdown-exporter <subcommand> <args> [options]

Important Notes

  • All commands only support file paths as input
  • The package handles all dependency management automatically
  • You can run the command from anywhere in your system, no need to navigate to the project directory

🔧 Scripts

md_to_csv - Convert Markdown tables to CSV

Converts Markdown tables to CSV format file.

Usage:

markdown-exporter md_to_csv <input> <output> [options]

Arguments:

  • input - Input Markdown file path containing tables
  • output - Output CSV file path

Options:

  • --strip-wrapper - Remove code block wrapper if present

Examples:

  1. Basic conversion: markdown-exporter md_to_csv /path/input.md /path/output.csv This converts all tables in the input Markdown file to CSV format.
  2. With code block wrapper removal: 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.


md_to_pdf - Convert Markdown to PDF

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 path
  • output - Output PDF file path

Options:

  • --strip-wrapper - Remove code block wrapper if present

Examples:

  1. Basic conversion: markdown-exporter md_to_pdf /path/input.md /path/output.pdf This converts the entire Markdown file to a PDF document.
  2. With code block wrapper removal: 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.


md_to_docx - Convert Markdown to DOCX

Converts Markdown text to DOCX format file.

Usage:

markdown-exporter md_to_docx <input> <output> [options]

Arguments:

  • input - Input Markdown file path
  • output - Output DOCX file path

Options:

  • --template - Path to DOCX template file (optional)
  • --strip-wrapper - Remove code block wrapper if present

Examples:

  1. Basic conversion: markdown-exporter md_to_docx /path/input.md /path/output.docx This converts the entire Markdown file to a DOCX document.
  2. With custom template: markdown-exporter md_to_docx /path/input.md /path/output.docx --template /path/template.docx This uses a custom DOCX template for styling.
  3. With code block wrapper removal: 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.


md_to_xlsx - Convert Markdown tables to XLSX

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 tables
  • output - Output XLSX file path

Options:

  • --force-text - Convert cell values to text type (default: True)
  • --strip-wrapper - Remove code block wrapper if present

Examples:

  1. Basic conversion: 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.
  2. With code block wrapper removal: markdown-exporter md_to_xlsx /path/input.md /path/output.xlsx --strip-wrapper This removes any code block wrappers (```) before processing the Markdown.
  3. With force-text disabled: 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.


md_to_pptx - Convert Markdown to PPTX

Converts Markdown text to PPTX format file.

Usage:

markdown-exporter md_to_pptx <input> <output> [options]

Arguments:

  • input - Input Markdown file path
  • output - Output PPTX file path

Options:

  • --template - Path to PPTX template file (optional)

Examples:

  1. Basic conversion: markdown-exporter md_to_pptx /path/input.md /path/output.pptx This converts the Markdown file to a PowerPoint presentation.
  2. With custom template: markdown-exporter md_to_pptx /path/input.md /path/output.pptx --template /path/template.pptx This uses a custom PowerPoint template for styling.

Sample Markdown Input: Use the "Slides (for PPTX)" example from the Sample Markdown Inputs - Slides (for PPTX) section below.


md_to_codeblock - Extract Codeblocks to Files

Extracts code blocks from Markdown and saves them as individual files.

Usage:

markdown-exporter md_to_codeblock <input> <output> [options]

Arguments:

  • input - Input Markdown file path containing code blocks
  • output - Output directory path or ZIP file path

Options:

  • --compress - Compress all code blocks into a ZIP file

Examples:

  1. Extract to directory: markdown-exporter md_to_codeblock /path/input.md /path/output_dir This extracts all code blocks to individual files in the specified directory.
  2. Extract to ZIP file: markdown-exporter md_to_codeblock /path/input.md /path/output.zip --compress This extracts all code blocks and compresses them into a ZIP file.

Sample Markdown Input: Use the "Code Blocks" example from the Sample Markdown Inputs - Code Blocks section below.


md_to_json - Convert Markdown Tables to JSON

Converts Markdown tables to JSON or JSONL format file.

Usage:

markdown-exporter md_to_json <input> <output> [options]

Arguments:

  • input - Input Markdown file path containing tables
  • output - Output JSON file path

Options:

  • --style - JSON output style: jsonl (default) or json_array
  • --strip-wrapper - Remove code block wrapper if present

Examples:

  1. Basic conversion (JSONL format): markdown-exporter md_to_json /path/input.md /path/output.json This converts tables to JSON Lines format (one JSON object per line).
  2. Convert to JSON array: markdown-exporter md_to_json /path/input.md /path/output.json --style json_array This converts tables to a single JSON array of objects.
  3. With code block wrapper removal: markdown-exporter md_to_json /path/input.md /path/output.json --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.


md_to_xml - Convert Markdown to XML

Converts Markdown text to XML format file.

Usage:

markdown-exporter md_to_xml <input> <output> [options]

Arguments:

  • input - Input Markdown file path
  • output - Output XML file path

Options:

  • --strip-wrapper - Remove code block wrapper if present

Examples:

  1. Basic conversion: markdown-exporter md_to_xml /path/input.md /path/output.xml This converts the entire Markdown file to an XML document.
  2. With code block wrapper removal: markdown-exporter md_to_xml /path/input.md /path/output.xml --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.


md_to_latex - Convert Markdown Tables to LaTeX

Converts Markdown tables to LaTeX format file.

Usage:

markdown-exporter md_to_latex <input> <output> [options]

Arguments:

  • input - Input Markdown file path containing tables
  • output - Output LaTeX file path

Options:

  • --strip-wrapper - Remove code block wrapper if present

Examples:

  1. Basic conversion: markdown-exporter md_to_latex /path/input.md /path/output.tex This converts all tables in the input Markdown file to LaTeX format.
  2. With code block wrapper removal: markdown-exporter md_to_latex /path/input.md /path/output.tex --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.


md_to_html - Convert Markdown to HTML

Converts Markdown text to HTML format file.

Usage:

markdown-exporter md_to_html <input> <output> [options]

Arguments:

  • input - Input Markdown file path
  • output - Output HTML file path

Options:

  • --strip-wrapper - Remove code block wrapper if present

Examples:

  1. Basic conversion: markdown-exporter md_to_html /path/input.md /path/output.html This converts the entire Markdown file to an HTML document.
  2. With code block wrapper removal: markdown-exporter md_to_html /path/input.md /path/output.html --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.


md_to_html_text - Convert Markdown to HTML Text

Converts Markdown text to HTML and outputs to stdout.

Usage:

markdown-exporter md_to_html_text <input>

Arguments:

  • input - Input Markdown file path

Example:

markdown-exporter md_to_html_text /path/input.md

Sample Markdown Input: Use the "Basic Text and Tables" example from the Sample Markdown Inputs - Basic Text and Tables section below.


md_to_md - Convert Markdown to MD File

Saves Markdown text to a.md file.

Usage:

markdown-exporter md_to_md <input> <output>

Arguments:

  • input - Input Markdown file path
  • output - Output MD file path

Example:

markdown-exporter md_to_md /path/input.md /path/output.md

Sample Markdown Input: Use the "Basic Text and Tables" example from the Sample Markdown Inputs - Basic Text and Tables section below.


md_to_ipynb - Convert Markdown to IPYNB

Converts Markdown text to Jupyter Notebook (.ipynb) format file.

Usage:

markdown-exporter md_to_ipynb <input> <output> [options]

Arguments:

  • input - Input Markdown file path
  • output - Output IPYNB file path

Options:

  • --strip-wrapper - Remove code block wrapper if present

Examples:

  1. Basic conversion: markdown-exporter md_to_ipynb /path/input.md /path/output.ipynb This converts the Markdown file to a Jupyter Notebook format.
  2. With code block wrapper removal: markdown-exporter md_to_ipynb /path/input.md /path/output.ipynb --strip-wrapper This removes any code block wrappers (```) before processing the Markdown.

Sample Markdown Input: Use the "Code Blocks" example from the Sample Markdown Inputs - Code Blocks section below.

Sample Markdown Inputs

To help you test the various tools, below are common Markdown input examples that represent the content of input files:

Basic Text and Tables

# Test Markdown File

This is a test markdown file for testing various export tools.

## Table Test

| Name | Description | Price |
|------|-------------|-------|
| Item 1 | First item | $10 |
| Item 2 | Second item | $20 |
| Item 3 | Third item | $30 |

## Text Test

This is a paragraph with **bold** and *italic* text.

- List item 1
- List item 2
- List item 3

> This is a blockquote.

Code Blocks

# Test Markdown File

## Code Block Test

print("Hello, World!") def add(a, b): return a + b

Test the function

result = add(5, 3) print(f"Result: {result}")

Bash script example

echo "Hello from Bash" ls -la

// JavaScript example console.log("Hello from JavaScript"); function multiply(a, b) { return a * b; }

Slides (for PPTX)

---
title: Markdown Exporter
author: Bowen Liang
---

# Introduction

## Welcome Slide

Welcome to our Markdown Exporter!

::: notes
Remember to greet the audience warmly.
:::

---

# Section 1: Basic Layouts

## Title and Content

- This is a basic slide with bullet points
- It uses the "Title and Content" layout
- Perfect for simple content presentation

## Two Column Layout

::::: columns
::: column
Left column content:
- Point 1
- Point 2
:::
::: column
Right column content:
- Point A
- Point B
:::
:::::

## Comparison Layout

::::: columns
::: column
Text followed by an image:

![Test Image](https://example.com/image.jpg)
:::
::: column
- This triggers the "Comparison" layout
- Useful for side-by-side comparisons
:::
:::::

## Content with Caption

Here's some explanatory text about the image below.

![Test Image](https://example.com/image.jpg "fig:Test Image")

---

# Section 2: Advanced Features

## Code Block

Here's a Python code block:

def greet(name): return f"Hello, {name}!"

print(greet("World"))


## Table Example

| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Row 1    | Data     | More     |
| Row 2    | Info     | Stuff    |

## Incremental List

::: incremental
- This point appears first
- Then this one
- And finally this one
:::

## {background-image="https://example.com/image.jpg"}

::: notes
This is a slide with a background image and speaker notes only.
The "Blank" layout will be used.
:::

# Conclusion

## Thank You

Thank you for viewing this kitchen sink presentation!

::: notes
Remember to thank the audience and invite questions.
:::

📝 Notes

  • All scripts only support file paths as input
  • For scripts that generate multiple files (e.g., multiple tables, multiple code blocks), the output filename will be automatically numbered
  • Use the --strip-wrapper option to remove code block wrappers (```) from the input Markdown

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.77%
按下载量换算54

Claude

29.6%
按下载量换算49

Cursor

19.53%
按下载量换算32

Gemini CLI

8.29%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/bowenliang123/markdown-exporter --skill markdown-exporter 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills