将各种格式文件(Word / PPT / PDF)一键转换为 Markdown,支持图片和表格提取。
AllToMD converts Word, PowerPoint and PDF files to Markdown directly inside Obsidian, with image and table extraction.
Install (Obsidian v1.4.0+): Search "AllToMD" in Settings → Community plugins. For manual installation, download main.js, manifest.json and styles.css from the latest release into YourVault/.obsidian/plugins/alltomd/, then enable the plugin.
Usage: Right-click any .docx, .pptx or .pdf file in the file explorer and choose 转换为 Markdown (Convert to Markdown). Alternatively, open the command palette (Ctrl+P) and run Convert file to Markdown.
.docx(Word)、.pptx(PowerPoint)、.pdf(PDF)[Image] 占位符)## Page N),自动段落检测,中文正常Ctrl+P → Convert file to Markdown).md 文件(可自定义目录与命名模板)A.md → A_image_1.png)在文件列表中右键点击任意 .docx / .pptx / .pdf 文件 → 转换为 Markdown。
Ctrl+P(macOS 为 Cmd+P)打开命令面板,输入 "Convert file to Markdown",在弹出的文件选择器中选取文件。
转换成功后会生成如下结构:
.md 文件头部自动附带元信息(来源文件、格式、转换时间、页数/表格数)在 设置 → 第三方插件 → All2MD 中配置:
| 设置项 | 说明 |
|---|---|
| 输出方式 | 插入到当前光标处 / 生成新的 .md 文件 |
| Markdown 保存位置 | 源文件所在目录 / 指定目录(与附件位置相互独立) |
| 文件命名模板 | 默认 {name}.md,{name} 替换为源文件名 |
| 附件存储模式 | 全局附件目录 / 新 md 同目录下的「附件」文件夹 |
| 提取源文件中的图片 | 开启后提取图片;关闭后用 [Image] 占位符替代 |
main.js、manifest.json、styles.css你的库/.obsidian/plugins/alltomd/本插件完全在本地运行:不发起任何网络请求,不收集任何数据,无遥测。