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에서 보기