Obsidian AttachFlow 插件使用教程
1. 项目介绍
Obsidian AttachFlow 是一个强大的开源插件,专门为 Obsidian 文档编辑器设计。它提供了直观的右键菜单,帮助用户无缝管理文档中的附件和引用链接。通过这个插件,用户可以在 LIVE 和 READ 模式下高效地处理资源,包括图片、视频、音频记录和文档等。AttachFlow 还支持图片的拖拽调整大小和点击放大查看功能,使得文档编辑体验更加流畅。
2. 项目快速启动
首先,确保您已经安装了 Obsidian 编辑器。以下是快速启动 AttachFlow 插件的步骤:
# 从 BRAT 安装
1. 打开 Obsidian 编辑器。
2. 转到设置 -> 插件。
3. 点击 "从网址安装",输入以下网址:https://github.com/Yaozhuwa/AttachFlow
4. 安装插件并启用。
# 手动安装
1. 访问 AttachFlow 插件的 GitHub 发布页面。
2. 下载 main.js、manifest.json、style.css 等文件。
3. 将这些文件放到 `<你的_vault>/obsidian/plugins/AttachFlow/` 目录下。
4. 启动 Obsidian 编辑器并启用插件。
3. 应用案例和最佳实践
图片/附件的右键菜单
在编辑或阅读模式下,右键点击图片或附件,可以快速进行以下操作:
- 复制文件到剪贴板
- 使用默认应用打开
- 显示在文件浏览器中
- 在文件列表中显示
- 重命名附件(仅限 LIVE 模式)
- 将文件移动到文件夹(仅限 LIVE 模式)
- 删除链接和相应附件(仅限 LIVE 模式)
拖拽调整图片大小
- 按住鼠标左键在图片边缘拖动,可以调整图片大小。
- 支持 Markdown 链接、WIKI 链接以及 Obsidian 的三种内部链接类型。
- 兼容 Excalidraw 插件和 PDF++ 插件的嵌入功能。
点击查看图片
- 点击图片右半部分,可以查看放大后的图片。
- 支持使用鼠标滚轮调整图片大小,以鼠标位置为中心缩放。
- 双击图片可以快速恢复到原始大小。
4. 典型生态项目
Obsidian 社区中还有许多其他插件,可以与 AttachFlow 配合使用,例如:
- Excalidraw:用于创建和嵌入矢量图形。
- PDF++:增强 PDF 文档的阅读和注释功能。
- Obsidian Copy URL in Preview:在预览模式下复制图片或链接的 URL。
通过这些插件的组合使用,您可以构建一个功能强大的知识库和工作流。