{
  "schemaVersion": "1.0",
  "item": {
    "slug": "markdown-exporter",
    "name": "Markdown Exporter",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/bowenliang123/markdown-exporter",
    "canonicalUrl": "https://clawhub.ai/bowenliang123/markdown-exporter",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/markdown-exporter",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=markdown-exporter",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/markdown-exporter"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/markdown-exporter",
    "agentPageUrl": "https://openagent3.xyz/skills/markdown-exporter/agent",
    "manifestUrl": "https://openagent3.xyz/skills/markdown-exporter/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/markdown-exporter/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Markdown Exporter",
        "body": "Markdown Exporter is an Agent Skill that transforms your Markdown text into a wide variety of professional format files.\n\nThis SKILL.md for Agent Skills, the cli tool and Python package markdown-exporter are maintained in the GitHub repository bowenliang123/markdown-exporter by bowenliang123."
      },
      {
        "title": "Tools and Supported Formats",
        "body": "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.)"
      },
      {
        "title": "Overview",
        "body": "Markdown Exporter is available as a PyPI package, which provides a seamless command-line interface for all its functionality."
      },
      {
        "title": "Installation",
        "body": "# with pip\npip install md-exporter\n\n# with uv \nuv tool install md-exporter\n\n# on OpenClaw\nnpx clawhub install markdown-exporter\n\nCheck markdown-exporter command and usages:\n\nmarkdown-exporter -h\n\nmarkdown-exporter <subcommand> -h"
      },
      {
        "title": "Basic Usage",
        "body": "Use the markdown-exporter command to access all the tools:\n\nmarkdown-exporter <subcommand> <args> [options]"
      },
      {
        "title": "Important Notes",
        "body": "All commands only support file paths as input\nThe package handles all dependency management automatically\nYou can run the command from anywhere in your system, no need to navigate to the project directory"
      },
      {
        "title": "md_to_csv - Convert Markdown tables to CSV",
        "body": "Converts Markdown tables to CSV format file.\n\nUsage:\n\nmarkdown-exporter md_to_csv <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path containing tables\noutput - Output CSV file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\nmarkdown-exporter md_to_csv /path/input.md /path/output.csv\n\nThis converts all tables in the input Markdown file to CSV format.\n\n\nWith code block wrapper removal:\nmarkdown-exporter md_to_csv /path/input.md /path/output.csv --strip-wrapper\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_pdf - Convert Markdown to PDF",
        "body": "Converts Markdown text to PDF format with support for Chinese, Japanese, and other languages.\n\nUsage:\n\nmarkdown-exporter md_to_pdf <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output PDF file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\nmarkdown-exporter md_to_pdf /path/input.md /path/output.pdf\n\nThis converts the entire Markdown file to a PDF document.\n\n\nWith code block wrapper removal:\nmarkdown-exporter md_to_pdf /path/input.md /path/output.pdf --strip-wrapper\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_docx - Convert Markdown to DOCX",
        "body": "Converts Markdown text to DOCX format file.\n\nUsage:\n\nmarkdown-exporter md_to_docx <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output DOCX file path\n\nOptions:\n\n--template - Path to DOCX template file (optional)\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\nmarkdown-exporter md_to_docx /path/input.md /path/output.docx\n\nThis converts the entire Markdown file to a DOCX document.\n\n\nWith custom template:\nmarkdown-exporter md_to_docx /path/input.md /path/output.docx --template /path/template.docx\n\nThis uses a custom DOCX template for styling.\n\n\nWith code block wrapper removal:\nmarkdown-exporter md_to_docx /path/input.md /path/output.docx --strip-wrapper\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_xlsx - Convert Markdown tables to XLSX",
        "body": "Converts Markdown tables to XLSX format with multiple sheets support.\n\nUsage:\n\nmarkdown-exporter md_to_xlsx <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path containing tables\noutput - Output XLSX file path\n\nOptions:\n\n--force-text - Convert cell values to text type (default: True)\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\nmarkdown-exporter md_to_xlsx /path/input.md /path/output.xlsx\n\nThis converts all tables in the input Markdown file to an XLSX workbook, with each table on a separate sheet.\n\n\nWith code block wrapper removal:\nmarkdown-exporter md_to_xlsx /path/input.md /path/output.xlsx --strip-wrapper\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\n\nWith force-text disabled:\nmarkdown-exporter md_to_xlsx /path/input.md /path/output.xlsx --force-text False\n\nThis allows Excel to automatically determine cell types.\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_pptx - Convert Markdown to PPTX",
        "body": "Converts Markdown text to PPTX format file.\n\nUsage:\n\nmarkdown-exporter md_to_pptx <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output PPTX file path\n\nOptions:\n\n--template - Path to PPTX template file (optional)\n\nExamples:\n\nBasic conversion:\nmarkdown-exporter md_to_pptx /path/input.md /path/output.pptx\n\nThis converts the Markdown file to a PowerPoint presentation.\n\n\nWith custom template:\nmarkdown-exporter md_to_pptx /path/input.md /path/output.pptx --template /path/template.pptx\n\nThis uses a custom PowerPoint template for styling.\n\nSample Markdown Input:\nUse the \"Slides (for PPTX)\" example from the Sample Markdown Inputs - Slides (for PPTX) section below."
      },
      {
        "title": "md_to_codeblock - Extract Codeblocks to Files",
        "body": "Extracts code blocks from Markdown and saves them as individual files.\n\nUsage:\n\nmarkdown-exporter md_to_codeblock <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path containing code blocks\noutput - Output directory path or ZIP file path\n\nOptions:\n\n--compress - Compress all code blocks into a ZIP file\n\nExamples:\n\nExtract to directory:\nmarkdown-exporter md_to_codeblock /path/input.md /path/output_dir\n\nThis extracts all code blocks to individual files in the specified directory.\n\n\nExtract to ZIP file:\nmarkdown-exporter md_to_codeblock /path/input.md /path/output.zip --compress\n\nThis extracts all code blocks and compresses them into a ZIP file.\n\nSample Markdown Input:\nUse the \"Code Blocks\" example from the Sample Markdown Inputs - Code Blocks section below."
      },
      {
        "title": "md_to_json - Convert Markdown Tables to JSON",
        "body": "Converts Markdown tables to JSON or JSONL format file.\n\nUsage:\n\nmarkdown-exporter md_to_json <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path containing tables\noutput - Output JSON file path\n\nOptions:\n\n--style - JSON output style: jsonl (default) or json_array\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion (JSONL format):\nmarkdown-exporter md_to_json /path/input.md /path/output.json\n\nThis converts tables to JSON Lines format (one JSON object per line).\n\n\nConvert to JSON array:\nmarkdown-exporter md_to_json /path/input.md /path/output.json --style json_array\n\nThis converts tables to a single JSON array of objects.\n\n\nWith code block wrapper removal:\nmarkdown-exporter md_to_json /path/input.md /path/output.json --strip-wrapper\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_xml - Convert Markdown to XML",
        "body": "Converts Markdown text to XML format file.\n\nUsage:\n\nmarkdown-exporter md_to_xml <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output XML file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\nmarkdown-exporter md_to_xml /path/input.md /path/output.xml\n\nThis converts the entire Markdown file to an XML document.\n\n\nWith code block wrapper removal:\nmarkdown-exporter md_to_xml /path/input.md /path/output.xml --strip-wrapper\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_latex - Convert Markdown Tables to LaTeX",
        "body": "Converts Markdown tables to LaTeX format file.\n\nUsage:\n\nmarkdown-exporter md_to_latex <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path containing tables\noutput - Output LaTeX file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\nmarkdown-exporter md_to_latex /path/input.md /path/output.tex\n\nThis converts all tables in the input Markdown file to LaTeX format.\n\n\nWith code block wrapper removal:\nmarkdown-exporter md_to_latex /path/input.md /path/output.tex --strip-wrapper\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_html - Convert Markdown to HTML",
        "body": "Converts Markdown text to HTML format file.\n\nUsage:\n\nmarkdown-exporter md_to_html <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output HTML file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\nmarkdown-exporter md_to_html /path/input.md /path/output.html\n\nThis converts the entire Markdown file to an HTML document.\n\n\nWith code block wrapper removal:\nmarkdown-exporter md_to_html /path/input.md /path/output.html --strip-wrapper\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_html_text - Convert Markdown to HTML Text",
        "body": "Converts Markdown text to HTML and outputs to stdout.\n\nUsage:\n\nmarkdown-exporter md_to_html_text <input>\n\nArguments:\n\ninput - Input Markdown file path\n\nExample:\n\nmarkdown-exporter md_to_html_text /path/input.md\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_png - Convert Markdown to PNG Images",
        "body": "Converts Markdown text to PNG images (one per page).\n\nUsage:\n\nmarkdown-exporter md_to_png <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output PNG file path or directory path\n\nOptions:\n\n--compress - Compress all PNG images into a ZIP file\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\nmarkdown-exporter md_to_png /path/input.md /path/output.png\n\nThis converts the Markdown file to PNG images (one per page).\n\n\nWith compression:\nmarkdown-exporter md_to_png /path/input.md /path/output.png --compress\n\nThis converts the Markdown file to PNG images and compresses them into a ZIP file.\n\n\nWith code block wrapper removal:\nmarkdown-exporter md_to_png /path/input.md /path/output.png --strip-wrapper\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_md - Convert Markdown to MD File",
        "body": "Saves Markdown text to a .md file.\n\nUsage:\n\nmarkdown-exporter md_to_md <input> <output>\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output MD file path\n\nExample:\n\nmarkdown-exporter md_to_md /path/input.md /path/output.md\n\nSample Markdown Input:\nUse the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below."
      },
      {
        "title": "md_to_ipynb - Convert Markdown to IPYNB",
        "body": "Converts Markdown text to Jupyter Notebook (.ipynb) format file.\n\nUsage:\n\nmarkdown-exporter md_to_ipynb <input> <output> [options]\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output IPYNB file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\nmarkdown-exporter md_to_ipynb /path/input.md /path/output.ipynb\n\nThis converts the Markdown file to a Jupyter Notebook format.\n\n\nWith code block wrapper removal:\nmarkdown-exporter md_to_ipynb /path/input.md /path/output.ipynb --strip-wrapper\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input:\nUse the \"Code Blocks\" example from the Sample Markdown Inputs - Code Blocks section below."
      },
      {
        "title": "Sample Markdown Inputs",
        "body": "To help you test the various tools, below are common Markdown input examples that represent the content of input files:\n\nBasic Text and Tables\n\n# Test Markdown File\n\nThis is a test markdown file for testing various export tools.\n\n## Table Test\n\n| Name | Description | Price |\n|------|-------------|-------|\n| Item 1 | First item | $10 |\n| Item 2 | Second item | $20 |\n| Item 3 | Third item | $30 |\n\n## Text Test\n\nThis is a paragraph with **bold** and *italic* text.\n\n- List item 1\n- List item 2\n- List item 3\n\n> This is a blockquote.\n\nCode Blocks\n\n# Test Markdown File\n\n## Code Block Test\n\n```python\nprint(\"Hello, World!\")\ndef add(a, b):\n    return a + b\n\n# Test the function\nresult = add(5, 3)\nprint(f\"Result: {result}\")\n```\n\n```bash\n# Bash script example\necho \"Hello from Bash\"\nls -la\n```\n\n```javascript\n// JavaScript example\nconsole.log(\"Hello from JavaScript\");\nfunction multiply(a, b) {\n    return a * b;\n}\n```\n\nSlides (for PPTX)\n\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://example.com/image.jpg)\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://example.com/image.jpg \"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://example.com/image.jpg\"}\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:::"
      },
      {
        "title": "📝 Notes",
        "body": "All scripts only support file paths as input\nFor scripts that generate multiple files (e.g., multiple tables, multiple code blocks), the output filename will be automatically numbered\nUse the --strip-wrapper option to remove code block wrappers (```) from the input Markdown"
      }
    ],
    "body": "Markdown Exporter\n\nMarkdown Exporter is an Agent Skill that transforms your Markdown text into a wide variety of professional format files.\n\nThis SKILL.md for Agent Skills, the cli tool and Python package markdown-exporter are maintained in the GitHub repository bowenliang123/markdown-exporter by bowenliang123.\n\nTools and Supported Formats\nTool\tInput (File path of Markdown text or styles)\tOutput (File path of exported file)\nmd_to_docx\t📝 Markdown text\t📄 Word document (.docx)\nmd_to_html\t📝 Markdown text\t🌐 HTML file (.html)\nmd_to_html_text\t📝 Markdown text\t🌐 HTML text string\nmd_to_pdf\t📝 Markdown text\t📑 PDF file (.pdf)\nmd_to_png\t📝 Markdown text\t🖼️ PNG image(s) of PDF pages\nmd_to_md\t📝 Markdown text\t📝 Markdown file (.md)\nmd_to_ipynb\t📝 Markdown text\t📓 Jupyter Notebook (.ipynb)\nmd_to_pptx\t📝 Markdown slides in Pandoc style\t🎯 PowerPoint (.pptx)\nmd_to_xlsx\t📋 Markdown tables\t📊 Excel spreadsheet (.xlsx)\nmd_to_csv\t📋 Markdown tables\t📋 CSV file (.csv)\nmd_to_json\t📋 Markdown tables\t📦 JSON/JSONL file (.json)\nmd_to_xml\t📋 Markdown tables\t🏷️ XML file (.xml)\nmd_to_latex\t📋 Markdown tables\t📝 LaTeX file (.tex)\nmd_to_codeblock\t💻 Code blocks in Markdown\t📁 Code files by language (.py, .js, .sh, etc.)\n📦 Usage\nOverview\n\nMarkdown Exporter is available as a PyPI package, which provides a seamless command-line interface for all its functionality.\n\nInstallation\n# with pip\npip install md-exporter\n\n# with uv \nuv tool install md-exporter\n\n# on OpenClaw\nnpx clawhub install markdown-exporter\n\n\nCheck markdown-exporter command and usages:\n\nmarkdown-exporter -h\n\nmarkdown-exporter <subcommand> -h\n\nBasic Usage\n\nUse the markdown-exporter command to access all the tools:\n\nmarkdown-exporter <subcommand> <args> [options]\n\nImportant Notes\nAll commands only support file paths as input\nThe package handles all dependency management automatically\nYou can run the command from anywhere in your system, no need to navigate to the project directory\n🔧 Scripts\nmd_to_csv - Convert Markdown tables to CSV\n\nConverts Markdown tables to CSV format file.\n\nUsage:\n\nmarkdown-exporter md_to_csv <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path containing tables\noutput - Output CSV file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\n\nmarkdown-exporter md_to_csv /path/input.md /path/output.csv\n\n\nThis converts all tables in the input Markdown file to CSV format.\n\nWith code block wrapper removal:\n\nmarkdown-exporter md_to_csv /path/input.md /path/output.csv --strip-wrapper\n\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_pdf - Convert Markdown to PDF\n\nConverts Markdown text to PDF format with support for Chinese, Japanese, and other languages.\n\nUsage:\n\nmarkdown-exporter md_to_pdf <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output PDF file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\n\nmarkdown-exporter md_to_pdf /path/input.md /path/output.pdf\n\n\nThis converts the entire Markdown file to a PDF document.\n\nWith code block wrapper removal:\n\nmarkdown-exporter md_to_pdf /path/input.md /path/output.pdf --strip-wrapper\n\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_docx - Convert Markdown to DOCX\n\nConverts Markdown text to DOCX format file.\n\nUsage:\n\nmarkdown-exporter md_to_docx <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output DOCX file path\n\nOptions:\n\n--template - Path to DOCX template file (optional)\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\n\nmarkdown-exporter md_to_docx /path/input.md /path/output.docx\n\n\nThis converts the entire Markdown file to a DOCX document.\n\nWith custom template:\n\nmarkdown-exporter md_to_docx /path/input.md /path/output.docx --template /path/template.docx\n\n\nThis uses a custom DOCX template for styling.\n\nWith code block wrapper removal:\n\nmarkdown-exporter md_to_docx /path/input.md /path/output.docx --strip-wrapper\n\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_xlsx - Convert Markdown tables to XLSX\n\nConverts Markdown tables to XLSX format with multiple sheets support.\n\nUsage:\n\nmarkdown-exporter md_to_xlsx <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path containing tables\noutput - Output XLSX file path\n\nOptions:\n\n--force-text - Convert cell values to text type (default: True)\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\n\nmarkdown-exporter md_to_xlsx /path/input.md /path/output.xlsx\n\n\nThis converts all tables in the input Markdown file to an XLSX workbook, with each table on a separate sheet.\n\nWith code block wrapper removal:\n\nmarkdown-exporter md_to_xlsx /path/input.md /path/output.xlsx --strip-wrapper\n\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nWith force-text disabled:\n\nmarkdown-exporter md_to_xlsx /path/input.md /path/output.xlsx --force-text False\n\n\nThis allows Excel to automatically determine cell types.\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_pptx - Convert Markdown to PPTX\n\nConverts Markdown text to PPTX format file.\n\nUsage:\n\nmarkdown-exporter md_to_pptx <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output PPTX file path\n\nOptions:\n\n--template - Path to PPTX template file (optional)\n\nExamples:\n\nBasic conversion:\n\nmarkdown-exporter md_to_pptx /path/input.md /path/output.pptx\n\n\nThis converts the Markdown file to a PowerPoint presentation.\n\nWith custom template:\n\nmarkdown-exporter md_to_pptx /path/input.md /path/output.pptx --template /path/template.pptx\n\n\nThis uses a custom PowerPoint template for styling.\n\nSample Markdown Input: Use the \"Slides (for PPTX)\" example from the Sample Markdown Inputs - Slides (for PPTX) section below.\n\nmd_to_codeblock - Extract Codeblocks to Files\n\nExtracts code blocks from Markdown and saves them as individual files.\n\nUsage:\n\nmarkdown-exporter md_to_codeblock <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path containing code blocks\noutput - Output directory path or ZIP file path\n\nOptions:\n\n--compress - Compress all code blocks into a ZIP file\n\nExamples:\n\nExtract to directory:\n\nmarkdown-exporter md_to_codeblock /path/input.md /path/output_dir\n\n\nThis extracts all code blocks to individual files in the specified directory.\n\nExtract to ZIP file:\n\nmarkdown-exporter md_to_codeblock /path/input.md /path/output.zip --compress\n\n\nThis extracts all code blocks and compresses them into a ZIP file.\n\nSample Markdown Input: Use the \"Code Blocks\" example from the Sample Markdown Inputs - Code Blocks section below.\n\nmd_to_json - Convert Markdown Tables to JSON\n\nConverts Markdown tables to JSON or JSONL format file.\n\nUsage:\n\nmarkdown-exporter md_to_json <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path containing tables\noutput - Output JSON file path\n\nOptions:\n\n--style - JSON output style: jsonl (default) or json_array\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion (JSONL format):\n\nmarkdown-exporter md_to_json /path/input.md /path/output.json\n\n\nThis converts tables to JSON Lines format (one JSON object per line).\n\nConvert to JSON array:\n\nmarkdown-exporter md_to_json /path/input.md /path/output.json --style json_array\n\n\nThis converts tables to a single JSON array of objects.\n\nWith code block wrapper removal:\n\nmarkdown-exporter md_to_json /path/input.md /path/output.json --strip-wrapper\n\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_xml - Convert Markdown to XML\n\nConverts Markdown text to XML format file.\n\nUsage:\n\nmarkdown-exporter md_to_xml <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output XML file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\n\nmarkdown-exporter md_to_xml /path/input.md /path/output.xml\n\n\nThis converts the entire Markdown file to an XML document.\n\nWith code block wrapper removal:\n\nmarkdown-exporter md_to_xml /path/input.md /path/output.xml --strip-wrapper\n\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_latex - Convert Markdown Tables to LaTeX\n\nConverts Markdown tables to LaTeX format file.\n\nUsage:\n\nmarkdown-exporter md_to_latex <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path containing tables\noutput - Output LaTeX file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\n\nmarkdown-exporter md_to_latex /path/input.md /path/output.tex\n\n\nThis converts all tables in the input Markdown file to LaTeX format.\n\nWith code block wrapper removal:\n\nmarkdown-exporter md_to_latex /path/input.md /path/output.tex --strip-wrapper\n\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_html - Convert Markdown to HTML\n\nConverts Markdown text to HTML format file.\n\nUsage:\n\nmarkdown-exporter md_to_html <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output HTML file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\n\nmarkdown-exporter md_to_html /path/input.md /path/output.html\n\n\nThis converts the entire Markdown file to an HTML document.\n\nWith code block wrapper removal:\n\nmarkdown-exporter md_to_html /path/input.md /path/output.html --strip-wrapper\n\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_html_text - Convert Markdown to HTML Text\n\nConverts Markdown text to HTML and outputs to stdout.\n\nUsage:\n\nmarkdown-exporter md_to_html_text <input>\n\n\nArguments:\n\ninput - Input Markdown file path\n\nExample:\n\nmarkdown-exporter md_to_html_text /path/input.md\n\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_png - Convert Markdown to PNG Images\n\nConverts Markdown text to PNG images (one per page).\n\nUsage:\n\nmarkdown-exporter md_to_png <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output PNG file path or directory path\n\nOptions:\n\n--compress - Compress all PNG images into a ZIP file\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\n\nmarkdown-exporter md_to_png /path/input.md /path/output.png\n\n\nThis converts the Markdown file to PNG images (one per page).\n\nWith compression:\n\nmarkdown-exporter md_to_png /path/input.md /path/output.png --compress\n\n\nThis converts the Markdown file to PNG images and compresses them into a ZIP file.\n\nWith code block wrapper removal:\n\nmarkdown-exporter md_to_png /path/input.md /path/output.png --strip-wrapper\n\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_md - Convert Markdown to MD File\n\nSaves Markdown text to a .md file.\n\nUsage:\n\nmarkdown-exporter md_to_md <input> <output>\n\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output MD file path\n\nExample:\n\nmarkdown-exporter md_to_md /path/input.md /path/output.md\n\n\nSample Markdown Input: Use the \"Basic Text and Tables\" example from the Sample Markdown Inputs - Basic Text and Tables section below.\n\nmd_to_ipynb - Convert Markdown to IPYNB\n\nConverts Markdown text to Jupyter Notebook (.ipynb) format file.\n\nUsage:\n\nmarkdown-exporter md_to_ipynb <input> <output> [options]\n\n\nArguments:\n\ninput - Input Markdown file path\noutput - Output IPYNB file path\n\nOptions:\n\n--strip-wrapper - Remove code block wrapper if present\n\nExamples:\n\nBasic conversion:\n\nmarkdown-exporter md_to_ipynb /path/input.md /path/output.ipynb\n\n\nThis converts the Markdown file to a Jupyter Notebook format.\n\nWith code block wrapper removal:\n\nmarkdown-exporter md_to_ipynb /path/input.md /path/output.ipynb --strip-wrapper\n\n\nThis removes any code block wrappers (```) before processing the Markdown.\n\nSample Markdown Input: Use the \"Code Blocks\" example from the Sample Markdown Inputs - Code Blocks section below.\n\nSample Markdown Inputs\n\nTo help you test the various tools, below are common Markdown input examples that represent the content of input files:\n\nBasic Text and Tables\n# Test Markdown File\n\nThis is a test markdown file for testing various export tools.\n\n## Table Test\n\n| Name | Description | Price |\n|------|-------------|-------|\n| Item 1 | First item | $10 |\n| Item 2 | Second item | $20 |\n| Item 3 | Third item | $30 |\n\n## Text Test\n\nThis is a paragraph with **bold** and *italic* text.\n\n- List item 1\n- List item 2\n- List item 3\n\n> This is a blockquote.\n\nCode Blocks\n# Test Markdown File\n\n## Code Block Test\n\n```python\nprint(\"Hello, World!\")\ndef add(a, b):\n    return a + b\n\n# Test the function\nresult = add(5, 3)\nprint(f\"Result: {result}\")\n```\n\n```bash\n# Bash script example\necho \"Hello from Bash\"\nls -la\n```\n\n```javascript\n// JavaScript example\nconsole.log(\"Hello from JavaScript\");\nfunction multiply(a, b) {\n    return a * b;\n}\n```\n\nSlides (for PPTX)\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://example.com/image.jpg)\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://example.com/image.jpg \"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://example.com/image.jpg\"}\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📝 Notes\nAll scripts only support file paths as input\nFor scripts that generate multiple files (e.g., multiple tables, multiple code blocks), the output filename will be automatically numbered\nUse the --strip-wrapper option to remove code block wrappers (```) from the input Markdown"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/bowenliang123/markdown-exporter",
    "publisherUrl": "https://clawhub.ai/bowenliang123/markdown-exporter",
    "owner": "bowenliang123",
    "version": "3.6.10",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/markdown-exporter",
    "downloadUrl": "https://openagent3.xyz/downloads/markdown-exporter",
    "agentUrl": "https://openagent3.xyz/skills/markdown-exporter/agent",
    "manifestUrl": "https://openagent3.xyz/skills/markdown-exporter/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/markdown-exporter/agent.md"
  }
}