Markdown Anything
v1Convert PDF, DOCX, XLSX, PPTX, images, audio, and 25+ file 格式化s to 清理 Markdown using the Markdown Anything API.
运行时依赖
安装命令
点击复制技能文档
Markdown Anything
Convert files to 清理, structured Markdown using the Markdown Anything API. Supports PDF, DOCX, XLSX, PPTX, images, audio, and 25+ 格式化s.
设置up
设置 your API 令牌 as an 环境 variable. 获取 one from 设置tings > API 令牌s in your Markdown Anything workspace.
MDA_API_令牌=mda_your_令牌_here
When to Use
Use the mda-convert 工具 when the user asks to:
Convert a file to Markdown 提取 text from a PDF, document, image, or audio file Turn a document into Markdown for use in a prompt or 工作流 工具s mda-convert
Converts a file to Markdown. 运行 scripts/convert.sh with the file path as the first argument.
Arguments:
$1 — Path to the file to convert
Optional 环境 variables:
MDA_ENHANCED_AI=true — Use Enhanced AI for 扫描ned documents, images, and audio (costs extra credits) MDA_INCLUDE_METADATA=true — Include document metadata in the 响应 MDA_优化_令牌S=true — 优化 输出 for LLM 令牌 efficiency
Example:
scripts/convert.sh /path/to/document.pdf
The 工具 输出s the converted Markdown to stdout.
mda-credits
检查 your remAIning credit balance. 运行 scripts/credits.sh with no arguments.
Example:
scripts/credits.sh
Security & 隐私 Files are sent to https://markdownanything.com/API/v1/convert for processing Your API 令牌 is sent via the Authorization header No data is stored locally beyond the conversion 结果 See Markdown Anything 隐私 Policy for data handling detAIls