Skip to main content

markit

Convert files and URLs to Markdown. Supports PDF, DOCX, PPTX, XLSX, HTML, EPUB, CSV, JSON, GitHub URLs, images, audio, ZIP, and more. Use when you need to extract content from any document format.

来源信息

仓库
shift-labs-ai/markit
最近来源活动
2026年8月17日 22:50
检测到的 SKILL.md 语言
英语
星标
1,324
分支
53

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
markit
description
Convert files and URLs to Markdown. Supports PDF, DOCX, PPTX, XLSX, HTML, EPUB, CSV, JSON, GitHub URLs, images, audio, ZIP, and more. Use when you need to extract content from any document format.
# markit Convert anything to Markdown. ## CLI ```bash # Convert a file npx @shiftlabs/markit report.pdf -q # Convert a URL npx @shiftlabs/markit https://en.wikipedia.org/wiki/Markdown -q # GitHub URLs (repos, files, gists, issues, PRs) npx @shiftlabs/markit https://github.com/owner/repo -q npx @shiftlabs/markit https://github.com/owner/repo/issues/42 -q npx @shiftlabs/markit https://gist.github.com/user/id -q # Write to file npx @shiftlabs/markit document.docx -q -o output.md # See all options npx @shiftlabs/markit --help # See supported formats npx @shiftlabs/markit formats ``` `-q` gives raw markdown. `--json` gives `{ markdown, title }`. ## SDK ```typescript import { Markit } from "@shiftlabs/markit"; const markit = new Markit(); const { markdown } = await markit.convertFile("report.pdf"); const { markdown } = await markit.convertUrl("https://example.com"); const { markdown } = await markit.convert(buffer, { extension: ".docx" }); ```
在 GitHub 查看