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.
ソース情報
- リポジトリ
- Michaelliv/markit
- ソースの最終更新活動
- 2026年4月11日 17:54
- 検出された SKILL.md の言語
- 英語
- スター
- 1,295
- フォーク
- 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 markit-ai report.pdf -q
# Convert a URL
npx markit-ai https://en.wikipedia.org/wiki/Markdown -q
# GitHub URLs (repos, files, gists, issues, PRs)
npx markit-ai https://github.com/owner/repo -q
npx markit-ai https://github.com/owner/repo/issues/42 -q
npx markit-ai https://gist.github.com/user/id -q
# Write to file
npx markit-ai document.docx -q -o output.md
# See all options
npx markit-ai --help
# See supported formats
npx markit-ai formats
```
`-q` gives raw markdown. `--json` gives `{ markdown, title }`.
## SDK
```typescript
import { Markit } from "markit-ai";
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で見る