---
name: markdown-exporter
description: Markdown exporter for export Markdown text to DOCX, PPTX, XLSX, PDF, PNG, HTML, MD, CSV, JSON, JSONL, XML files, and extract code blocks in Markdown to Python, Bash,JS and etc files. Also known as the md_exporter skill.
allowed-tools:
disable: false
---
## β¨ What is Markdown Exporter?
**Markdown Exporter** is a Agent Skill that transforms your Markdown text into a wide variety of professional formats. Whether you need to create polished reports, stunning presentations, organized spreadsheets, or code filesβthis tool has you covered.
### Tools and Supported Formats
## Prerequisites
To use the Markdown Exporter skill, ensure you have the following prerequisites installed:
- Python 3.11 or higher
- (optional) uv package manager
## π¦ Usage
### Overview
All scripts provided in this project are Python scripts located in the `scripts/` directory. All required Python dependencies are declared in the project's [pyproject.toml](./pyproject.toml) file.
### Recommended Execution Method - Using Bash Scripts
We strongly recommend using the bash scripts located in the `scripts/` directory. These scripts provide a seamless experience by automatically handling dependency management and execution:
1. **Automatic Dependency Management**: When you run a bash script from the `scripts/` directory, it will:
- First check if the `uv` package manager is installed
- If `uv` is available, it will use `uv run` to automatically install dependencies and execute the Python script in one step
- If `uv` is not available, it will fall back to using `pip` to install dependencies from `requirements.txt` before executing the script
- Check that Python 3.11 or higher is installed (when using pip fallback)
2. **Execute scripts with bash**:
```bash
scripts/md-exporter [options]
```
### Alternative Execution Method - Direct Python Execution
You can also run the Python scripts directly, but you'll need to manage dependencies yourself:
1. **Using uv** (recommended if running directly):
```bash
uv run python scripts/parser/.py [options]
```
2. **Using pip**:
```bash
# Install dependencies first
pip install -r requirements.txt
# Then run the script
python scripts/parser/.py [options]
```
### Important Notes
- Always navigate to the root directory of the project before executing any scripts.
- The bash scripts in `scripts/` provide the most convenient way to run the tools, as they handle all dependency management automatically.
- All scripts only support file paths as input
## π§ Scripts
### md_to_csv - Convert Markdown tables to CSV
Converts Markdown tables to CSV format.
**Usage:**
```bash
scripts/md-exporter md_to_csv