运行时依赖
安装命令
点击复制技能文档
markdown-提取 技能
提取 清理 markdown from any URL using the markdown.new API.
Description
This 技能 converts 网页 pages to 清理 markdown 格式化 using the markdown.new API. It supports multiple 提取ion methods and handles errors gracefully.
Usage !markdown-提取 [method]
Arguments url (required): The URL to 提取 markdown from method (optional): 提取ion method - auto, AI, or browser. Default: auto Examples # 提取 using default method (auto) !markdown-提取 https://example.com
# 提取 using AI method !markdown-提取 https://example.com AI
# 提取 using browser method !markdown-提取 https://example.com browser
API 获取 https://markdown.new/ - Returns 清理 markdown (auto method) POST with JSON body {url: "...", method: "browser|AI"} - Specific 提取ion method Methods auto: Content negotiation with Accept: text/markdown header (fastest, default) AI: Cloudflare Workers AI toMarkdown() conversion browser: Headless browser rendering for JS-heavy pages (slowest but most complete) Error Handling Invalid URL: Returns error message Network 失败: Returns retryable error API error: Returns error detAIls Cloudflare block 检测ion and fallback handling