Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
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...
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...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
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.
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 stringmd_to_pdf📝 Markdown text📑 PDF file (.pdf)md_to_png📝 Markdown text🖼️ PNG image(s) of PDF pagesmd_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]
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
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: 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. 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.
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: Basic conversion: markdown-exporter md_to_pdf /path/input.md /path/output.pdf This converts the entire Markdown file to a PDF document. 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.
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: Basic conversion: markdown-exporter md_to_docx /path/input.md /path/output.docx This converts the entire Markdown file to a DOCX document. 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. 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.
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: 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. 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. 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.
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: Basic conversion: markdown-exporter md_to_pptx /path/input.md /path/output.pptx This converts the Markdown file to a PowerPoint presentation. 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.
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: 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. 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.
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: 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). 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. 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.
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: Basic conversion: markdown-exporter md_to_xml /path/input.md /path/output.xml This converts the entire Markdown file to an XML document. 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.
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: 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. 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.
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: Basic conversion: markdown-exporter md_to_html /path/input.md /path/output.html This converts the entire Markdown file to an HTML document. 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.
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.
Converts Markdown text to PNG images (one per page). Usage: markdown-exporter md_to_png <input> <output> [options] Arguments: input - Input Markdown file path output - Output PNG file path or directory path Options: --compress - Compress all PNG images into a ZIP file --strip-wrapper - Remove code block wrapper if present Examples: Basic conversion: markdown-exporter md_to_png /path/input.md /path/output.png This converts the Markdown file to PNG images (one per page). With compression: markdown-exporter md_to_png /path/input.md /path/output.png --compress This converts the Markdown file to PNG images and compresses them into a ZIP file. With code block wrapper removal: 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.
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.
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: Basic conversion: markdown-exporter md_to_ipynb /path/input.md /path/output.ipynb This converts the Markdown file to a Jupyter Notebook format. 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.
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
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.