gabrielmoreira/agent-skills-mirror/bowenliang123-markdown-exporter

Claude Code and agent skill by gabrielmoreira/agent-skills-mirror

Trust tier 3
  • community
  • ext:[{"type":"template","description":"Custom templates for code generation"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install gabrielmoreira/agent-skills-mirror/bowenliang123-markdown-exporter

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as gabrielmoreira/agent-skills-mirror/bowenliang123-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 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_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🎯 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
bash
# 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:

bash
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:

bash
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:

``bash markdown-exporter md_to_csv /path/input.md /path/output.csv `` This converts all tables in the input Markdown file to CSV format.

  1. With code block wrapper removal:

``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.


md_to_pdf - Convert Markdown to PDF

Converts Markdown text to PDF format with support for Chinese, Japanese, and other languages.

Usage:

bash
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:

``bash markdown-exporter md_to_pdf /path/input.md /path/output.pdf `` This converts the entire Markdown file to a PDF document.

  1. With code block wrapper removal:

``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.


md_to_png - Convert Markdown to PNG

Converts Markdown text to PNG image(s), with support for Chinese, Japanese, and other languages.

Usage:

bash
markdown-exporter md_to_png <input> <output> [options]

Arguments:

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

Options:

  • --multi-page - Export one PNG per A4 page (numbered files) instead of a single long-page PNG
  • --strip-wrapper - Remove code block wrapper if present

Examples:

  1. Basic conversion (single long-page image):

``bash markdown-exporter md_to_png /path/input.md /path/output.png `` This renders the entire Markdown document as a single long-page PNG image.

  1. Multi-page output:

``bash markdown-exporter md_to_png /path/input.md /path/output.png --multi-page ` This exports one PNG per A4 page, saved as output_1.png, output_2.png`, etc. when the document has multiple pages.

  1. With code block wrapper removal:

``bash markdown-exporter md_to_png /path/input.md /path/output.png --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_svg - Convert Markdown to SVG

Converts Markdown text to SVG image(s), one SVG per page, with support for Chinese, Japanese, and other languages.

Usage:

bash
markdown-exporter md_to_svg <input> <output> [options]

Arguments:

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

Options:

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

Examples:

  1. Basic conversion:

``bash markdown-exporter md_to_svg /path/input.md /path/output.svg ` This converts the Markdown file to SVG image(s), saved as output_1.svg, output_2.svg`, etc. when the document has multiple pages.

  1. With code block wrapper removal:

``bash markdown-exporter md_to_svg /path/input.md /path/output.svg --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:

bash
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:

``bash markdown-exporter md_to_docx /path/input.md /path/output.docx `` This converts the entire Markdown file to a DOCX document.

  1. With custom template:

``bash markdown-exporter md_to_docx /path/input.md /path/output.docx --template /path/template.docx `` This uses a custom DOCX template for styling.

  1. With code block wrapper removal:

``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.


md_to_xlsx - Convert Markdown tables to XLSX

Converts Markdown tables to XLSX format with multiple sheets support.

Usage:

bash
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:

``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.

  1. With code block wrapper removal:

``bash markdown-exporter md_to_xlsx /path/input.md /path/output.xlsx --strip-wrapper ` This removes any code block wrappers (``) before processing the Markdown.

  1. With force-text disabled:

``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.


md_to_pptx - Convert Markdown to PPTX

Converts Markdown text to PPTX format file.

Usage:

bash
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:

``bash markdown-exporter md_to_pptx /path/input.md /path/output.pptx `` This converts the Markdown file to a PowerPoint presentation.

  1. With custom template:

``bash 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:

bash
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:

``bash markdown-exporter md_to_codeblock /path/input.md /path/output_dir `` This extracts all code blocks to individual files in the specified directory.

  1. Extract to ZIP file:

``bash 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:

bash
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:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
8
Repository forks
2
7-day trend score
11

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • templateCustom templates for code generation

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gabrielmoreira/agent-skills-mirror/bowenliang123-markdown-exporter/badge)](https://verified-skill.com/skills/gabrielmoreira/agent-skills-mirror/bowenliang123-markdown-exporter)

Something wrong with this skill or its page? Tell us.