Markdown Exporter skill

A skill and CLI that turn Markdown into DOCX, PDF, PPTX, XLSX, PNG and about a dozen more formats, all computed locally

  • 274 β˜… on the repository
  • Last commit
  • Apache-2.0
Skill

Extended access

Why this level

  • Runs a program that reads your Markdown files and writes DOCX, PDF, PPTX and other files to disk
  • Installs a set of dependencies into the Python environment, including document rendering tools
All reasons and checks

bowenliang123/markdown-exporter

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/markdown-exporter

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Runs a program that reads your Markdown files and writes DOCX, PDF, PPTX and other files to disk
  • Installs a set of dependencies into the Python environment, including document rendering tools

This is third-party code. Review the repository files before installing.

What it does

Markdown Exporter is a skill for agents and a `markdown-exporter` command-line program that converts a Markdown file into working formats. Text becomes a Word document, PDF, HTML, a PNG or SVG image, a Jupyter notebook, a Markdown file or LaTeX, and tables become Excel, CSV, JSON, XML and LaTeX. Pandoc-style slides turn into PowerPoint. Each format is its own subcommand: `md_to_docx`, `md_to_pdf`, `md_to_pptx`, `md_to_xlsx` and others. For DOCX and PPTX you can supply your own template with the headings, fonts and tables you need. The separate `md_to_codeblock` subcommand pulls code blocks out of Markdown and saves them to files by language: `.py`, `.js`, `.sh` and so on. All commands take file paths as input. Processing is local and no data is sent anywhere. The same project ships as a Dify plugin and an OpenClaw skill, and Claude Code adds it through the plugin marketplace.

Who it is for. For analysts, documentation authors and developers whose agent writes reports and tables in Markdown but who need Word, Excel, PowerPoint or PDF files.

Good fit when

  • An agent wrote a report in Markdown and you need a Word document in a corporate template
  • Tables from the answer should go to Excel, CSV or JSON
  • Pandoc-syntax slides must become a PowerPoint deck
  • Code blocks from an agent answer need to be split into files with the right extensions
  • Data cannot go to online converters: everything runs on your machine

Not a fit when

  • You need the reverse conversion from DOCX, PDF or PPTX to Markdown: the tool only exports
  • Your source text is not saved to a file: every command takes paths only
  • You need exact book or paper typesetting: your own LaTeX pipeline fits better
  • You need a general format converter such as DOCX to EPUB: Markdown Exporter starts from Markdown

Example request

Export report.md to report.docx with Markdown Exporter and save its tables separately to tables.xlsx

Limitations

Installation needs Python and packages pulled in by `pip install md-exporter` or `uv tool install md-exporter`. Commands accept only file paths, so the agent must first save the Markdown to disk. Input for `md_to_pptx` must be Pandoc-style slides, and `md_to_xlsx`, `md_to_csv`, `md_to_json` and `md_to_xml` need Markdown tables. The package bundles Noto Sans CJK and Twemoji fonts, so CJK characters and emoji need no separate font install.

How to disable. Run `pip uninstall md-exporter` or `uv tool uninstall md-exporter`, and remove the skill through `/plugin` in Claude Code or by deleting its folder from the agent's skills folder.

FAQ

How do I install Markdown Exporter in Claude Code?

Run `/plugin marketplace add bowenliang123/markdown-exporter`. The program itself installs with `pip install md-exporter` or `uv tool install md-exporter`, after which `markdown-exporter -h` lists subcommands.

Which formats can Markdown Exporter produce?

DOCX, PDF, HTML, PNG, SVG, Markdown, Jupyter notebook, PPTX, XLSX, CSV, JSON and JSONL, XML, LaTeX, Jira wiki text and code files by language. More than fifteen outputs in all.

Can I use my own Word template?

Yes, `md_to_docx` accepts a custom DOCX template that sets heading, paragraph, table and list styles. PPTX templates work the same way for slides.

How do I extract code from Markdown into files?

The `md_to_codeblock` subcommand saves code blocks into files by block language: `.py`, `.js`, `.sh` and others. The input Markdown is passed as a path.

What does the strip-wrapper flag do?

The `--strip-wrapper` flag on subcommands such as `md_to_csv` removes a code block wrapper around the table before processing. It helps when an agent returned a table inside a code block.

Discussion

No questions or reviews yet.

Skills
Editors’ pick

A Firecrawl skill and CLI that lets your agent convert Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF to Markdown on your own machine

SkillExtended access23.2KRepository stars

A skill to convert Markdown to Word and back through Pandoc with ready styling templates and Lua filters

SkillExtended access1.1KRepository stars

A document pipeline skill: anything to markdown, markdown to clean html and publisher-grade docx, and html back to markdown

SkillExtended access933Repository stars

An MCP server on top of pandoc: the agent converts Markdown, HTML, DOCX, LaTeX, EPUB, ODT and other formats into one another

MCP serverExtended access584Repository stars

A skill that turns an article, report or notes into a deck of full-slide images and assembles them into a pptx

SkillExtended access7.4KRepository stars
Editors’ pick

A skill that builds editable PPTX decks from PDF, DOCX, URLs and Markdown with native shapes, charts and animations

SkillExtended access71KRepository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialAuthenticationRepository starsMain difference
Markdown Exporter (this entry)no274
mcp-pandocnonot required584a pandoc-based MCP server converting between many document formats
Markdownify MCP Servernonot required2,997does the reverse: turns PDF, DOCX, XLSX and web pages into Markdown

README in short

The README shows the project in four forms: a Dify plugin, a skill for Agent Skills hosts, an OpenClaw skill and a command-line program from PyPI. It then gives a table of tools and formats, per-subcommand examples with sample Markdown and options, and notes on DOCX and PPTX templates.

README badge

Original SKILL.md

---
name: markdown-exporter
description: Convert Markdown text to DOCX, PPTX, XLSX, PDF, PNG, SVG, 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

Markdown Exporter is an Agent Skill that transforms your Markdown text into a wide variety of professional format files.

This [SKILL.md](https://github.com/bowenliang123/markdown-exporter/blob/main/SKILL.md) for Agent Skills, the cli tool and [Python package `markdown-exporter`](https://pypi.org/project/md-exporter/) are maintained in the GitHub repository [bowenliang123/markdown-exporter](https://github.com/bowenliang123/markdown-exporter) by [bowenliang123](https://github.com/bowenliang123).

### Tools and Supported Formats

| 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_jira` | πŸ“ Markdown text | πŸ…Ή Jira wiki markup text |
| `md_to_pdf` | πŸ“ Markdown text | πŸ“‘ PDF file (.pdf) |
| `md_to_png` | πŸ“ Markdown text | πŸ–ΌοΈ PNG image (.png), single long page or one image per page |
| `md_to_svg` | πŸ“ Markdown text | πŸ–ΌοΈ SVG image (.svg), one image per page |
| `md_to_md` | πŸ“ Markdown text | πŸ“ Markdown file (.md) |
| `md_to_ipynb` | πŸ“ Markdown text | πŸ““ Jupyter Notebook (.ipynb) |
| `md_to_pptx` | πŸ“ Markdown slides in [Pandoc style](https://pandoc.org/MANUAL.html#slide-shows) | 🎯 PowerPoint (.pptx) |
| `md_to_xlsx` | πŸ“‹ [Markdown tables](https://www.markdownguide.org/extended-syntax/#tables) | πŸ“Š Excel spreadsheet (.xlsx) |
| `md_to_csv` | πŸ“‹ [Markdown tables](https://www.markdownguide.org/extended-syntax/#tables) | πŸ“‹ CSV file (.csv) |
| `md_to_json` | πŸ“‹ [Markdown tables](https://www.markdownguide.org/extended-syntax/#tables) | πŸ“¦ JSON/JSONL file (.json) |
| `md_to_xml` | πŸ“‹ [Markdown tables](https://www.markdownguide.org/extended-syntax/#tables) | 🏷️ XML file (.xml) |
| `md_to_latex` | πŸ“‹ [Markdown tables](https://www.markdownguide.org/extended-syntax/#tables) | πŸ“ LaTeX file (.tex) |
| `md_to_codeblock` | πŸ’» [Code blocks in Markdown](https://www.markdownguide.org/extended-syntax/#fenced-code-blocks) | πŸ“ 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

```bash
# with pip

Report a problem

Foxx AIMarkdown Exporter
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.