markdown-exporter
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 etc files.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bowenliang123/markdown-exporterWhat This Skill Does
The markdown-exporter is a versatile OpenClaw skill designed to bridge the gap between unstructured Markdown content and structured, professional file formats. It acts as a universal converter, allowing users to transform text files into business-ready documents such as DOCX, PDF, PPTX, or XLSX without needing specialized software suites. Beyond simple format conversion, this skill intelligently parses Markdown content, including tables and fenced code blocks, to generate clean, usable output files. Whether you are creating a presentation from a brainstorm, converting research data into an Excel spreadsheet, or extracting individual code files from a documentation project, this skill automates the workflow, saving significant time on manual formatting tasks.
Installation
To begin using the skill, you must have OpenClaw installed in your environment. You can install this skill directly via the command line interface by running:
npx clawhub install markdown-exporter
For local development or command-line usage outside of the agent context, you can also install the underlying package via Python's package manager:
pip install md-exporter
Once installed, the markdown-exporter command is globally available, enabling you to convert files directly from your terminal or trigger the capability via an OpenClaw agent prompt.
Use Cases
- Professional Documentation: Convert project readme files or technical documentation into polished DOCX or PDF reports for client submission.
- Data Transformation: Extract statistical data presented in Markdown tables into CSV or Excel files for further analytical processing.
- Code Organization: Quickly extract multiple code files (e.g., .py, .js, .sh) from a single documentation source file, effectively automating repository initialization.
- Presentation Preparation: Build slide decks by authoring content in Markdown and converting them into professional PPTX files.
- Content Conversion: Transform web-ready Markdown content into clean HTML or Jupyter Notebooks for academic or interactive demonstration purposes.
Example Prompts
- "Please convert my project-report.md file into a PDF and a DOCX document so I can share it with my manager."
- "I have a markdown file called data.md containing several tables; can you convert those tables into an Excel file named results.xlsx?"
- "Extract all the Python code blocks from my implementation-guide.md and save them as separate .py files in my current directory."
Tips & Limitations
- File Path Dependency: This skill requires input via file paths. Ensure your Markdown files are saved in a location accessible to the agent.
- Pandoc Style: When generating PPTX files, the skill relies on Pandoc-style Markdown formatting to interpret slide breaks correctly.
- Formatting Consistency: For optimal results with XLSX and CSV exports, ensure your Markdown tables follow standard GitHub-flavored Markdown syntax.
- Security: Since the skill performs file write operations to your local system, always verify the output paths to ensure you are not overwriting important documents.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bowenliang123-markdown-exporter": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read