Markdown Converter

👤 steipete 📦 v1.0.0 ⭐ 4.1 ⬇️ 64.5K 下载
📚 知识管理 免费

📖 技能介绍


name: markdown-converter description: Convert documents and files to Markdown using markitdown. Use when converting PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), HTML, CSV, JSON, XML, images (with EXIF/OCR), audio (with transcription), ZIP archives, YouTube URLs, or EPubs to Markdown format for LLM processing or text analysis.


Markdown Converter

Convert files to Markdown using uvx markitdown — no installation required.

Basic Usage

# Convert to stdout
uvx markitdown input.pdf

# Save to file
uvx markitdown input.pdf -o output.md
uvx markitdown input.docx > output.md

# From stdin
cat input.pdf | uvx markitdown

Supported Formats

  • Documents: PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls)
  • Web/Data: HTML, CSV, JSON, XML
  • Media: Images (EXIF + OCR), Audio (EXIF + transcription)
  • Other: ZIP (iterates contents), YouTube URLs, EPub

Options

-o OUTPUT      # Output file
-x EXTENSION   # Hint file extension (for stdin)
-m MIME_TYPE   # Hint MIME type
-c CHARSET     # Hint charset (e.g., UTF-8)
-d             # Use Azure Document Intelligence
-e ENDPOINT    # Document Intelligence endpoint
--use-plugins  # Enable 3rd-party plugins
--list-plugins # Show installed plugins

Examples

# Convert Word document
uvx markitdown report.docx -o report.md

# Convert Excel spreadsheet
uvx markitdown data.xlsx > data.md

# Convert PowerPoint presentation
uvx markitdown slides.pptx -o slides.md

# Convert with file type hint (for stdin)
cat document | uvx markitdown -x .pdf > output.md

# Use Azure Document Intelligence for better PDF extraction
uvx markitdown scan.pdf -d -e "https://your-resource.cognitiveservices.azure.com/"

Notes

  • Output preserves document structure: headings, tables, lists, links
  • First run caches dependencies; subsequent runs are faster

    发现更多技能插件,请访问7w4.net。

  • For complex PDFs with poor extraction, use -d with Azure Document Intelligence

🤖 AI 评测

这是一个质量中等的文档转换工具 Skill。文档清晰易懂,使用说明完整,转换格式覆盖全面是主要优点。但整体内容比较单薄,缺少实际示例和故障排除指导,对于复杂文档转换的帮助有限。对于需要转换多种文档格式的用户来说基本可用,但专业深度有待提升。

📊 多维度评分

适应性4.2
规范性4
有效性4.5
可靠性3.7
可信度4.4

📁 包含文件 (2 个)

📄 SKILL.md 1.9 KB
📄 _meta.json 137 B