pdf-to-md

仓库创建 2026年7月26日最近提交 4 天前SkillHot 收录 3 天前
这个 Skill 做什么

把一个 PDF 变成单个干净的 Markdown 文件,遇到表格或图示也能保留原样。它把每页当成图片看,再把内容逐一转写,这样换行的表格单元格不会被 layout extractor 搞碎,图示也尽量做忠实转录。需要把书面材料导出为可编辑的 .md、保留表格和示意图时用它。

▸ 展开 SKILL.md 英文原文

Convert a PDF to one clean markdown file, preserving wrapped tables and rendering diagrams as faithful transcription.

0
Stars
0
Forks
1
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/masintech/pdf_to_md_skill/main/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/masintech/pdf_to_md_skill/main/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# PDF → Markdown

Convert a PDF into one clean `.md` by reading each page as an image and transcribing what is on it. Reading pages as images lets a wrapped table cell be seen whole — the way a human sees it — so it unwraps correctly where a layout extractor mangles it.

> A prompt skill — the contract below is tool-agnostic, so it runs the same in Claude Code (`/pdf-to-md`), Cursor, or Copilot Chat.

## Two verbs, one rule

The whole skill hangs on telling these apart:

- **Reconstruct layout** — reading order, line continuation, which column a wrapped fragment belongs to. Allowed; for prose, near-deterministic.
- **Invent content** — words, numbers, labels, arrows, headings not on the page
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有