{"id":45538884,"url":"https://github.com/bowenliang123/markdown-exporter","last_synced_at":"2026-03-08T06:00:51.422Z","repository":{"id":272944116,"uuid":"918092521","full_name":"bowenliang123/markdown-exporter","owner":"bowenliang123","description":"An Agent Skill and Dify plugin to transform Markdown to files of DOCX, PPTX, XLSX, PNG, PDF, Mermaid, HTML, MD, CSV, JSON, XML.","archived":false,"fork":false,"pushed_at":"2026-02-22T15:53:08.000Z","size":22990,"stargazers_count":183,"open_issues_count":5,"forks_count":47,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-02-22T20:43:47.862Z","etag":null,"topics":["agent-skills","dify","dify-plugin","markdown"],"latest_commit_sha":null,"homepage":"https://marketplace.dify.ai/plugins/bowenliang123/md_exporter","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bowenliang123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-01-17T08:32:39.000Z","updated_at":"2026-02-22T15:52:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"76f22dc9-9114-4514-840b-a8395c07762c","html_url":"https://github.com/bowenliang123/markdown-exporter","commit_stats":null,"previous_names":["bowenliang123/md_exporter","bowenliang123/markdown-exporter"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/bowenliang123/markdown-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bowenliang123%2Fmarkdown-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bowenliang123%2Fmarkdown-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bowenliang123%2Fmarkdown-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bowenliang123%2Fmarkdown-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bowenliang123","download_url":"https://codeload.github.com/bowenliang123/markdown-exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bowenliang123%2Fmarkdown-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30246872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T05:41:50.788Z","status":"ssl_error","status_checked_at":"2026-03-08T05:41:39.075Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-skills","dify","dify-plugin","markdown"],"created_at":"2026-02-23T03:00:25.521Z","updated_at":"2026-03-08T06:00:51.414Z","avatar_url":"https://github.com/bowenliang123.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/icon.png\" alt=\"Markdown Exporter Logo\" width=\"200\"\u003e\n\u003c/div\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/bowenliang123/markdown-exporter\" target=\"_blank\"\u003e\n      \u003cimg alt=\"Github\" src=\"https://img.shields.io/badge/bowenliang123-markdown--exporter-lightgray?logo=github\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://marketplace.dify.ai/plugin/bowenliang123/md_exporter\" target=\"_blank\"\u003e\n      \u003cimg alt=\"Github\" src=\"https://img.shields.io/badge/Dify-md__exporter-blue\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://clawhub.ai/bowenliang123/markdown-exporter\" target=\"_blank\"\u003e\n      \u003cimg alt=\"Github\" src=\"https://img.shields.io/badge/🦞OpenClaw-markdown--exporter-red\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/md-exporter/\" target=\"_blank\"\u003e\n      \u003cimg alt=\"Github\" src=\"https://img.shields.io/badge/PyPI-md--exporter-yellow?logo=python\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Markdown Exporter\n### An Agent Skill and Dify plugin to Export Markdown Into Powerful Documents\n\n\n\n- Author: [bowenliang123](https://github.com/bowenliang123)\n- GitHub Repo: [markdown-exporter](https://github.com/bowenliang123/markdown-exporter)\n\n\n**Markdown Exporter** can be used as:\n\n| Use As                       | Platforms \u0026 Installation                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Dify Plugin                  | **Platform**: [Dify](https://github.com/langgenius/dify) \u003cbr/\u003e **Installation**: \u003cbr/\u003e - Install from [Dify Marketplace](https://marketplace.dify.ai/plugins/bowenliang123/md_exporter)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |\n| Agent Skills                 | **Platforms**: Any platform supporting [Agent Skills](https://agentskills.io) \u003cbr/\u003e - **IDEs/CLIs**: [Claude Code](https://code.claude.com/docs/en/skills), [Trae](https://docs.trae.ai/ide/skills), [Codebuddy](https://copilot.tencent.com/docs/cli/skills), etc. \u003cbr/\u003e - **Agent Frameworks**: [LangChain DeepAgents](https://www.blog.langchain.com/using-skills-with-deep-agents/), [AgentScope](https://doc.agentscope.io/tutorial/task_agent_skill.html), etc. \u003cbr/\u003e\u003cbr/\u003e **Installation**: \u003cbr/\u003e - **Local Import**: Download and import [source code zip](https://github.com/bowenliang123/markdown-exporter/archive/refs/heads/main.zip) \u003cbr/\u003e - **Remote Install**: `/plugin marketplace add bowenliang123/markdown-exporter` in agent CLIs |\n| OpenClaw Skills 🦞           | **Platform**: [OpenClaw](https://docs.openclaw.ai/tools/skills#clawhub-install-%2B-sync) \u003cbr/\u003e - Install from [ClawHub](https://clawhub.ai/bowenliang123/markdown-exporter): `npx clawhub@latest install markdown-exporter`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |\n| Command Line Interface (CLI) | **Platform**: Python\u003cbr/\u003e - Install from [PyPI](https://pypi.org/project/md-exporter/): `pip install md-exporter`\u003cbr/\u003e - Run: `markdown-exporter -h` for usage information                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n\n---\n\n## ✨ What is Markdown Exporter?\n\n**Markdown Exporter** is a powerful toolset as an Agent Skill or a Dify plugin 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.\n\nWith support for **15+ output formats**, Markdown Exporter bridges the gap between simple text editing and professional document creation, all while maintaining the simplicity and elegance of Markdown syntax.\n\n### 🎯 Why You'll Love It\n\n- **🚀 Lightning Fast** – Export your Markdown to multiple formats in milliseconds\n- **🎨 Customizable** – Use custom templates for DOCX and PPTX to match your brand\n- **🔒 100% Private** – All processing happens locally, no data ever leaves your environment\n- **📊 Versatile** – From documents to spreadsheets, presentations to code files\n- **🌐 Multi-Language Support** – Perfect for international teams and content\n\n---\n\n## 🛠️ Introduction and Use Guide\n\n### Tools and Supported Formats\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eTool\u003c/th\u003e\n    \u003cth\u003eInput\u003c/th\u003e\n    \u003cth\u003eOutput\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_docx\u003c/code\u003e\u003c/td\u003e\n    \u003ctd rowspan=\"7\"\u003e📝 Markdown text\u003c/td\u003e\n    \u003ctd\u003e📄 Word document (.docx)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_html\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e🌐 HTML file (.html)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_html_text\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e🌐 HTML text string\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_pdf\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e📑 PDF file (.pdf)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_png\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e🖼️ PNG image(s) of PDF pages\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_md\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e📝 Markdown file (.md)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_ipynb\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e📓 Jupyter Notebook (.ipynb)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_pptx\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e\n      \u003cdiv\u003e\n        📝 Markdown slides\n      \u003c/div\u003e\n      \u003cdiv\u003e\n      in \u003ca href=\"https://pandoc.org/MANUAL.html#slide-shows\"\u003ePandoc style \u003c/a\u003e\n      \u003c/div\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e🎯 PowerPoint (.pptx)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_xlsx\u003c/code\u003e\u003c/td\u003e\n    \u003ctd rowspan=\"5\"\u003e📋\u003ca href=\"https://www.markdownguide.org/extended-syntax/#tables\"\u003e Markdown tables \u003c/a\u003e \u003c/td\u003e\n    \u003ctd\u003e📊 Excel spreadsheet (.xlsx)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_csv\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e📋 CSV file (.csv)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_json\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e📦 JSON/JSONL file (.json)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_xml\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e🏷️ XML file (.xml)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_latex\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e📝 LaTeX file (.tex)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003emd_to_codeblock\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e💻 \u003ca href=\"https://www.markdownguide.org/extended-syntax/#fenced-code-blocks\"\u003e Code blocks in Markdown \u003c/a\u003e \u003c/td\u003e\n    \u003ctd\u003e📁 Code files by language (.py, .js, .sh, etc.)\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n---\n\n## 📖 Usage as Dify Plugin\n\n![Usage Demo](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/usage_md_to_docx.png)\n\nSimply input your Markdown text, select your desired output format, and click export. It's that easy!\n\n---\n\n## 🎨 Dify Tools Usages\n\n### 📄 Markdown → DOCX\n\nCreate professional Word documents with beautiful formatting.\n\n\u003e **✨ Pro Tip: Custom Styling with Templates**\n\u003e\n\u003e The `md_to_docx` tool supports custom DOCX template files, giving you full control over your document's appearance.\n\u003e\n\u003e **What you can customize:**\n\u003e - Heading styles (fonts, sizes, colors)\n\u003e - Paragraph formatting (spacing, indentation)\n\u003e - Table styles and borders\n\u003e - List styles and bullets\n\u003e - And much more!\n\u003e\n\u003e Check out the [default docx template](https://github.com/bowenliang123/markdown-exporter/blob/main/md_exporter/assets/template/docx_template.docx) or create your own. Learn how at [Customize or create new styles](https://support.microsoft.com/en-us/office/customize-or-create-new-styles-d38d6e47-f6fc-48eb-a607-1eb120dec563).\n\n![DOCX Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_docx_1.png)\n\n---\n\n### 📊 Markdown → XLSX\n\nConvert your Markdown tables into polished Excel spreadsheets with auto-fitted columns and preserved data types.\n\n**Input:**\n```markdown\n| Name    | Age | City        |\n|---------|-----|-------------|\n| Alice   | 30  | New York    |\n| Bowen   | 25  | Guangzhou   |\n| Charlie | 35  | Tokyo       |\n| David   | 40  | Miami       |\n```\n\n**Output:**\n![XLSX Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_xlsx_1.png)\n\n---\n\n### 🎯 Markdown → PPTX\n\nTurn your Markdown into stunning PowerPoint presentations automatically.\n\n\u003e **✨ Syntax Requirements**\n\u003e\n\n\u003e\n\u003e **Supported Features:**\n\u003e - ✅ Title slides\n\u003e - ✅ Column Layout\n\u003e - ✅ Tables\n\u003e - ✅ Hyperlinks\n\u003e - ✅ And more!\n\u003e\n\u003e \u003e **🎨 Custom Templates:**\n\u003e \u003e\n\u003e \u003e Use custom PPTX templates with slide masters to match your brand's visual identity. [Learn how](https://support.microsoft.com/en-us/office/customize-a-slide-master-036d317b-3251-4237-8ddc-22f4668e2b56). Get the [default pptx template](https://github.com/bowenliang123/markdown-exporter/blob/main/md_exporter/assets/template/pptx_template.pptx).\n\nThe input Markdown must follow the syntax and guidance in [Pandoc Slide Shows](https://pandoc.org/MANUAL.html#slide-shows).\n\n**Input Example:**\n\n````markdown\n---\ntitle: Markdown Exporter\nauthor: Bowen Liang\n---\n\n# Introduction\n\n## Welcome Slide\n\nWelcome to our Markdown Exporter!\n\n::: notes\nRemember to greet the audience warmly.\n:::\n\n---\n\n# Section 1: Basic Layouts\n\n## Title and Content\n\n- This is a basic slide with bullet points\n- It uses the \"Title and Content\" layout\n- Perfect for simple content presentation\n\n## Two Column Layout\n\n::::: columns\n::: column\nLeft column content:\n- Point 1\n- Point 2\n:::\n::: column\nRight column content:\n- Point A\n- Point B\n:::\n:::::\n\n## Comparison Layout\n\n::::: columns\n::: column\nText followed by an image:\n\n![Test Image](https://avatars.githubusercontent.com/u/127165244?s=48\u0026v=4)\n:::\n::: column\n- This triggers the \"Comparison\" layout\n- Useful for side-by-side comparisons\n:::\n:::::\n\n## Content with Caption\n\nHere's some explanatory text about the image below.\n\n![Test Image](https://avatars.githubusercontent.com/u/127165244?s=48\u0026v=4 \"fig:Test Image\")\n\n---\n\n# Section 2: Advanced Features\n\n## Code Block\n\nHere's a Python code block:\n\n```python\ndef greet(name):\n    return f\"Hello, {name}!\"\n\nprint(greet(\"World\"))\n```\n\n## Table Example\n\n| Column 1 | Column 2 | Column 3 |\n|----------|----------|----------|\n| Row 1    | Data     | More     |\n| Row 2    | Info     | Stuff    |\n\n## Incremental List\n\n::: incremental\n- This point appears first\n- Then this one\n- And finally this one\n:::\n\n## {background-image=\"https://avatars.githubusercontent.com/u/127165244?s=48\u0026v=4\"}\n\n::: notes\nThis is a slide with a background image and speaker notes only.\nThe \"Blank\" layout will be used.\n:::\n\n# Conclusion\n\n## Thank You\n\nThank you for viewing this kitchen sink presentation!\n\n::: notes\nRemember to thank the audience and invite questions.\n:::\n````\n\n**Output:**\n![PPTX Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_pptx_1.png)\n\n---\n\n### 🌐 Markdown → HTML\n\nTransform your Markdown into clean, semantic HTML perfect for web pages.\n\n![HTML Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_html_1.png)\n\n---\n\n### 📑 Markdown → PDF\n\nGenerate professional PDF documents perfect for printing or sharing.\n\n![PDF Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_pdf_1.png)\n\n---\n\n### 🖼️ Markdown → PNG\n\nConvert your Markdown into beautiful PNG images. Great for:\n- Social media posts\n- Documentation screenshots\n- Quick sharing in chat apps\n\n![PNG Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_png_1.png)\n\n---\n\n### 🏷️ Markdown → Jupyter Notebook\n\nTransform your Markdown into Jupyter Notebook `.ipynb` format.\n\n**Input Example:**\n````markdown\n# Example Jupyter Notebook\n\nThis is a simplified test markdown file that will be converted to an IPYNB notebook with multiple cells.\n\n## Introduction\n\nThis notebook demonstrates the conversion of markdown to IPYNB format.\n\n- It includes markdown formatting\n- It has code cells in different languages\n- It shows how tables are handled\n\n```python\n# Python Code Cell\nprint(\"Hello, world!\")\nx = 10\ny = 20\nprint(f\"Sum: {x + y}\")\n```\n\n## Data Table\n\nHere's a sample table:\n\n| Name  | Score | Occupation |\n|-------|-------|------------|\n| Alice | 80    | Engineer   |\n| Bowen | 90    | Designer   |\n\n## Conclusion\n\nThis concludes the simplified test notebook.\n````\n\n**Output File:**\n![IPYNB Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_ipynb_1.png)\n\n---\n\n### 💻 Markdown → Code Block Files\n\nEffortlessly extract code blocks from your Markdown and save them as individual files, preserving syntax highlighting and formatting.\n\n#### Supported Languages \u0026 File Extensions\n\n| Language   | File Extension | Language   | File Extension |\n|------------|----------------|------------|----------------|\n| Python     | `.py`          | CSS        | `.css`         |\n| JavaScript | `.js`          | YAML       | `.yaml`        |\n| HTML       | `.html`        | Ruby       | `.rb`          |\n| Bash       | `.sh`          | Java       | `.java`        |\n| JSON       | `.json`        | PHP        | `.php`         |\n| XML        | `.xml`         | Markdown   | `.md`          |\n| SVG        | `.svg`         |            |                |\n\n![Code Block Example 1](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/usage_md_to_codeblock_2.png)\n\n**Pro Tip:** Enable compression to bundle all extracted files into a single ZIP archive for easy sharing and organization!\n\n![Code Block Example 2](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/usage_md_to_codeblock_3.png)\n![Code Block Example 3](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/usage_md_to_codeblock_4.png)\n\n\n\n\n### 📋 Markdown → CSV\n\nExport your Markdown tables to universal CSV format.\n\n![CSV Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_csv_1.png)\n\n---\n\n### 📦 Markdown → JSON / JSONL\n\nConvert your tables into structured data formats.\n\n**JSONL Style (default)**\n- One JSON object per line\n- Perfect for streaming and logging\n\n![JSONL Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_json_2.png)\n\n**JSON Array Style**\n- All objects in a single array\n- Ideal for API responses\n\n![JSON Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_json_1.png)\n\n---\n\n### 🏷️ Markdown → XML\n\nTransform your data into XML format.\n\n![XML Example](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_xml_1.png)\n\n---\n\n### 📝 Markdown → LaTeX\n\nGenerate LaTeX source code for academic and technical documents.\n\n**LaTeX Output:**\n![LaTeX Example 1](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_latex_1.png)\n\n**Compiled PDF:**\n![LaTeX Example 2](https://raw.githubusercontent.com/bowenliang123/markdown-exporter/main/_assets/screenshots/md_to_latex_2.png)\n\n---\n\n### 📝 Markdown → Markdown\n\nSave your Markdown content as a `.md` file for future use.\n\n\n---\n\n## Command Line Interface (CLI) Usage\n\nMarkdown Exporter provides a powerful command-line interface that allows you to access all its functionality directly from your terminal.\n\n### Installation\n\n```bash\n# with pip\npip install md-exporter\n\n# with uv \nuv tool install md-exporter\n```\n\n### Basic Usage\n\nUse the `markdown-exporter` command to access all the tools:\n\n```bash\nmarkdown-exporter \u003csubcommand\u003e \u003cargs\u003e [options]\n```\n\n### Tool Usage Guide\n\n#### md_to_csv - Convert Markdown tables to CSV\n```bash\nmarkdown-exporter md_to_csv \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (CSV file path)\n- **Options**: `--strip-wrapper` (Remove code block wrapper if present)\n\n#### md_to_pdf - Convert Markdown to PDF\n```bash\nmarkdown-exporter md_to_pdf \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (PDF file path)\n- **Options**: `--strip-wrapper` (Remove code block wrapper if present)\n\n#### md_to_docx - Convert Markdown to DOCX\n```bash\nmarkdown-exporter md_to_docx \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (DOCX file path)\n- **Options**: `--template` (Path to DOCX template file), `--strip-wrapper` (Remove code block wrapper if present)\n\n#### md_to_xlsx - Convert Markdown tables to XLSX\n```bash\nmarkdown-exporter md_to_xlsx \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (XLSX file path)\n- **Options**: `--force-text` (Convert cell values to text type), `--strip-wrapper` (Remove code block wrapper if present)\n\n#### md_to_pptx - Convert Markdown to PPTX\n```bash\nmarkdown-exporter md_to_pptx \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (PPTX file path)\n- **Options**: `--template` (Path to PPTX template file)\n\n#### md_to_codeblock - Extract Codeblocks to Files\n```bash\nmarkdown-exporter md_to_codeblock \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (Output directory or ZIP file path)\n- **Options**: `--compress` (Compress all code blocks into a ZIP file)\n\n#### md_to_json - Convert Markdown Tables to JSON\n```bash\nmarkdown-exporter md_to_json \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (JSON file path)\n- **Options**: `--style` (JSON output style: jsonl or json_array), `--strip-wrapper` (Remove code block wrapper if present)\n\n#### md_to_xml - Convert Markdown to XML\n```bash\nmarkdown-exporter md_to_xml \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (XML file path)\n- **Options**: `--strip-wrapper` (Remove code block wrapper if present)\n\n#### md_to_latex - Convert Markdown Tables to LaTeX\n```bash\nmarkdown-exporter md_to_latex \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (LaTeX file path)\n- **Options**: `--strip-wrapper` (Remove code block wrapper if present)\n\n#### md_to_html - Convert Markdown to HTML\n```bash\nmarkdown-exporter md_to_html \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (HTML file path)\n- **Options**: `--strip-wrapper` (Remove code block wrapper if present)\n\n#### md_to_html_text - Convert Markdown to HTML Text\n```bash\nmarkdown-exporter md_to_html_text \u003cinput\u003e\n```\n- **Arguments**: `input` (Markdown file path)\n\n#### md_to_png - Convert Markdown to PNG Images\n```bash\nmarkdown-exporter md_to_png \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (PNG file or directory path)\n- **Options**: `--compress` (Compress all PNG images into a ZIP file), `--strip-wrapper` (Remove code block wrapper if present)\n\n#### md_to_md - Convert Markdown to MD File\n```bash\nmarkdown-exporter md_to_md \u003cinput\u003e \u003coutput\u003e\n```\n- **Arguments**: `input` (Markdown file path), `output` (MD file path)\n\n#### md_to_ipynb - Convert Markdown to IPYNB\n```bash\nmarkdown-exporter md_to_ipynb \u003cinput\u003e \u003coutput\u003e [options]\n```\n- **Arguments**: `input` (Markdown file path), `output` (IPYNB file path)\n- **Options**: `--strip-wrapper` (Remove code block wrapper if present)\n\n### Important Notes\n- All commands only support file paths as input\n- The package handles all dependency management automatically\n- You can run the command from anywhere in your system, no need to navigate to the project directory\n- Use `markdown-exporter \u003csubcommand\u003e -h` for detailed help on each subcommand\n\n---\n\n## 📢 Releases\nReleases are available at:\n- [GitHub Repo Releases](https://github.com/bowenliang123/markdown-exporter/releases)\n- [Dify Marketplace Releases](https://marketplace.dify.ai/plugins/bowenliang123/md_exporter)\n\n### Changelog\n- 3.6.9\n  - Reduced the packaged Dify plugin file size by 95% by removing the screenshot images for README docs.\n\n- 3.6.7\n  - Fixed path error issue for docx and pptx template files in Python distribution package\n\n- 3.6.6\n  - Refactor code structure to ensure Agent Skill, Dify plugin and CLI properly share the core file transformation logic \n  - Make project installable and usable on OpenClaw as Agent Skill 🦞\n  - Refactor Python packaging to make `markdown-exporter` as standalone CLI tool with Python package `md-exporter` installed\n  - Remove `md_to_linked_image` tool\n\n- 3.6.0\n  - Improve conversion success rate in `md_to_docx`, `md_to_pptx`, and `md_to_ipynb` tools by removing enforcement of spaces and blank lines in heading headers\n  - Speed up first call on pandoc by running the warm-up method\n\n- 3.5.1\n  - Correctly handle code cells by pre-processing markdown input in `md_to_ipynb` tool\n\n- 3.5.0\n  - Introduce `md_to_ipynb` tool for converting Markdown text to Jupyter Notebook (.ipynb) format\n  - The `md_to_ipynb` tool automatically splits markdown content into separate notebook cells\n  - Update logo icon (for the very first time)\n\n- 3.4.0\n  - [BREAKING CHANGE] Migrate `md_to_pptx` tool to use `pandoc` for conversion for stable features and reduced dependency footprint\n  - The Markdown input for `md_to_pptx` tool now must follow the markdown syntax and guidance in [Pandoc slides](https://pandoc.org/MANUAL.html#slide-shows)\n\n- 3.3.0\n  - Update `md_to_pptx` from 6.1.1 to 6.2.1\n  - Remove `md_to_mermaid` tool to reduce installation time and footprint by eliminating Node.js runtime dependency\n\n- 3.2.0\n  - Introduce `md_to_mermaid` tool for converting Mermaid diagram code blocks in Markdown to PNG images\n  - Refactor Agent Skill scripts and entry shell scripts\n\n- 3.0.0\n  - `md_exporter` is now ready for Agent Skills and runnable as standalone\n    - Add `SKILL.md` for Agent Skills description\n    - Add `/scripts` for code scripts of all tools as Agent Skills execution entry\n    - Extract core file transformation logic into `/scripts/lib` shared by both Agent Skills scripts and Dify Plugin\n    - Add `pyproject.toml` as Python project description and dependency management\n  - Add automated tests covering all usage of Claude Skills scripts entry points\n  - Bump `md2pptx` from 6.1 to 6.1.1 for table caption bug fix\n\n- 2.3.0\n  - Resolve XLSX generation issue by skipping irrelevant characters before first table in `md_to_xlsx` tool\n\n- 2.2.0\n  - Fix CI problems in GitHub Actions\n\n- 2.1.0\n  - Fix remote image fetching in `md_to_pptx` tool by updating `md2pptx` to 6.1\n  - Fix missing table border in `md_to_docx` tool by updating default DOCX template file\n  - Intercept `run-python` macro usage in `md_to_pptx` tool\n\n- 2.0.0\n  - [BREAKING CHANGE] Migrate `md_to_docx` tool to use `pandoc` for conversion\n  - Major improvements in `md_to_docx` tool:\n    - Support custom styling using a template DOCX file, allowing font, font size, and color style customization for headings, paragraphs, etc.\n    - Optimize file size in generated DOCX files\n    - Better support for multi-language content\n  - Remove `md_to_rst` and `md_to_epub` tools\n  - Add `force_text_value` option in `md_to_xlsx` tool to control whether to force convert all cell values to text strings\n\n- 1.12.0\n  - Fix optional PPTX template file handling in `md_to_pptx` tool\n  - Fix error message with file path in command assembly in `md_to_pptx` tool\n  - Bump `md2pptx` to 6.0\n\n- 1.10.2\n  - Bump `md2pptx` from 5.4.4 to 5.4.5\n  - Bump `python-docx` from 1.1 to 1.2.0\n  - Increase PDF generation capacity limit to 500MB\n\n- 1.10.0\n  - Support JSONL output style in `md_to_json` tool, using JSON Lines format with one object per line\n  - Change default output style of `md_to_json` tool to JSONL\n  - Minor documentation updates in parameter descriptions\n\n- 1.9.0\n  - Support custom sheet names in `md_to_xlsx` tool using headings in Markdown text\n  - Force convert column types to string in `md_to_xlsx` tool to prevent data precision loss and display issues in Microsoft Excel\n  - Autofit column width in `md_to_xlsx` tool\n\n- 1.8.0\n  - Resolve garbled character issues when opening CSV files containing non-ASCII characters (e.g., Chinese, Japanese, emoji characters) in Microsoft Excel\n\n- 1.7.0\n  - Support custom PPTX template files in `md_to_pptx` tool\n  - Support file generation from multiple tables in `md_to_csv`, `md_to_latex`, and `md_to_xlsx` tools\n\n- 1.6.0\n  - Introduce `md_to_html_text` tool for converting Markdown text to HTML text\n  - Standardize fonts for headings and body paragraphs in DOCX files generated by `md_to_docx` tool\n\n- 1.5.0\n  - Improve PDF display for pure English markdown text input in `md_to_pdf` tool by skipping font settings for CJK characters\n  - Introduce `md_to_epub` tool for converting Markdown text to EPUB eBook files\n  - Support compressing all PNG files into a single zip file in `md_to_png` tool\n  - Increase capacity limit for PDF files to 100MB in `md_to_pdf` tool\n  - Remove explicit timeout configuration MAX_REQUEST_TIMEOUT\n\n- 1.4.100\n  - Special version celebrating [Dify](https://github.com/langgenius/dify)'s 100k GitHub stars milestone\n  - Add `md_to_png` tool for converting Markdown text to PNG image files\n\n- 1.3.0\n  - Update SDK version\n\n- 1.2.0\n  - Support compressing images into a single zip file in `md_to_linked_image` tool\n\n- 1.1.0\n  - Enable line breaks normalization in all tools by default, replacing all occurrences of `\\n` with `\\n`\n  - Remove `\u003cthink\u003e` tags of reasoning content in input Markdown text\n  - Fix missing custom output filename support in `md_to_csv`, `md_to_json`, and `md_to_latex` tools\n\n- 1.0.1\n  - Remove redundant URL-safe conversion in custom output filenames\n\n- 1.0.0\n  - Support custom output filenames\n\n- 0.5.0\n  - Introduce `md_to_linked_image` tool for extracting image files from links in Markdown text\n\n- 0.4.3\n  - Improve Chinese character display in text paragraphs in `md_to_docx` tool by setting global font to Song if content contains Chinese characters\n\n- 0.4.2\n  - Support Java, PHP, and Ruby file exporting in `md_to_codeblock` tool\n\n- 0.4.1\n  - Support YAML file exporting in `md_to_codeblock` tool\n\n- 0.4.0\n  - Support exporting Markdown codeblocks into a single zip file in `md_to_codeblock` tool\n\n- 0.3.0\n  - Fix library import error in `md_to_pptx` tool when running on self-hosted Dify plugin-daemon service\n\n- 0.2.0\n  - Introduce `md_to_codeblock` tool for extracting code blocks in Markdown to Python, JSON, JS, BASH, SVG, HTML, XML, and MARKDOWN files\n  - Introduce `md_to_rst` tool for converting Markdown to reStructuredText (.rst) format\n\n- 0.1.x\n  - Introduce `md_to_pptx` tool for converting Markdown to PowerPoint (.pptx) format\n\n- 0.0.x\n  - Publish to Dify Marketplace\n  - Support exporting Markdown to DOCX, PPTX, XLSX, PDF, HTML, MD, CSV, JSON, XML, and LaTeX files\n\n---\n\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit issues or pull requests on our [GitHub repository](https://github.com/bowenliang123/markdown-exporter).\n\n### Code Style\n\nWe use `ruff` to ensure code consistency. Run the following command to automatically fix code style issues:\n\n```bash\nuv run ruff check --fix --select UP .\n```\n\nOr use the provided script:\n\n```bash\ndev/reformat.sh\n```\n\n---\n\n## 📜 License\n\nThis project is licensed under the **Apache License 2.0**.\n\n---\n\n## 🔒 Privacy\n\nPrivacy matters. See the [Privacy Policy](./PRIVACY.md) for more details. This plugin:\n- Collects **NO** data\n- Processes everything **locally**\n- Sends **NO information** to third-party services\n\nAll file transformations happen entirely within the local environment.\n\n---\n\n## 🙏 Acknowledgments\n\nThis project stands on the shoulders of giants. We're grateful to these amazing open-source projects:\n\n| Project                                               | License              |\n|-------------------------------------------------------|----------------------|\n| [pypandoc](https://github.com/JessicaTegner/pypandoc) | MIT License          |\n| [pandas](https://github.com/pandas-dev/pandas)        | BSD 3-Clause License |\n| [xhtml2pdf](https://github.com/xhtml2pdf/xhtml2pdf)   | Apache License 2.0   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbowenliang123%2Fmarkdown-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbowenliang123%2Fmarkdown-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbowenliang123%2Fmarkdown-exporter/lists"}