跳到正文
TakoAPI
返回技能列表

markdown-converter

由 steipete 提供

PDF & Documents
23.5k下载量由 clawskills.sh 提供
117星标
19浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Convert documents and files to Markdown.

描述

该技能的功能

Converts PDF, Word, PowerPoint, Excel, HTML, CSV, JSON, XML, images, audio, ZIP archives, YouTube URLs, and EPubs to Markdown. Runs via `uvx markitdown` with no prior installation needed. Output preserves document structure including headings, tables, and lists.

Handles a wider range of input formats than most converters, including media files with OCR and audio transcription, without requiring any local installation.

何时使用

  • Preparing PDF reports for LLM ingestion
  • Extracting readable text from PowerPoint slides
  • Converting Excel spreadsheets to Markdown tables for analysis
  • Transcribing audio files to text output
  • Pulling YouTube video transcripts into Markdown

示例工作流

输入

User asks: Convert report.pdf to Markdown

智能体
  1. 1

    Accept the PDF file path from the user

  2. 2

    Run uvx markitdown report.pdf -o output.md

  3. 3

    Read and return the generated Markdown content

输出

Markdown file with preserved headings, tables, and structure from the original PDF

前置要求

  • Azure Document Intelligence endpoint and API key (only needed for enhanced PDF extraction with the -d flag)

安装

clawhub install steipete/markdown-converter

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接