Hanser220 downloadsFast Markdown transformations, smart paste, text cleanup, internal links, spacing, and blank-line editing.
Quick Editing is a desktop Obsidian plugin for fast Markdown transformations, smart paste, internal-link handling, text cleanup, spacing, and blank-line editing. Syntax-aware transformations protect Frontmatter, code, math, HTML, links, images, and Obsidian comments. Full-document operations show a change preview and provide an undo action.
Quick Editing is maintained by Hanser0521 from the original Enhanced Editing project, with attribution and public upstream authorization recorded in NOTICE.
Quick Editing follows Obsidian's current language through the official
getLanguage() API. Chinese language variants use Simplified Chinese; every
other locale falls back to English. Command names, menus, settings, previews,
notices, error details, and generated fallback labels are localized. Both
Chinese and English command names remain searchable in the plugin settings.
Open Settings → Community plugins → Browse, search for Quick Editing, then select Install and Enable.
Download main.js, manifest.json, and styles.css from the latest
GitHub Release, then put
the files in <vault>/.obsidian/plugins/quick-editing/. Reload Obsidian and
enable Quick Editing under Community plugins.
Quick Editing has no telemetry and makes no network requests. It reads vault metadata or note files only when a link or cleanup command requires them. It reads clipboard contents only during smart paste or the manual paste command. The plugin never deletes image attachment files; the image-link cleanup command only changes Markdown content after a preview.
Quick Editing 是一款面向 Obsidian 桌面端的 Markdown 快捷编辑插件。它提供智能符号、格式刷、智能粘贴、内部链接、文本清理、空格与空行整理等高频操作,并为批量修改加入 Markdown 上下文保护、变更预览和撤销入口。
1.0.51.8.71.13.7quick-editingQuick Editing 由 Hanser0521 基于 obsidian-canzi/Enhanced-editing 继续维护。项目已更名并使用新的插件 ID,不会覆盖旧版“增强编辑”的安装目录。
| 功能组 | 主要用途 | 默认状态 |
|---|---|---|
| 智能符号 | 括号补全、语法跳过、代码块缩写、Callout 转换 | 开启 |
| 格式刷 | 连续应用标题、粗体、斜体、删除线、高亮、文字与背景颜色 | 开启 |
| 智能粘贴 | URL、路径、HTML、Office/网页表格和制表符表格 | 开启 |
| 全文清理 | 标点、断行、空格、空行、注释、图片链接和潜在链接整理 | 开启 |
关闭功能组后,该组命令不会注册到 Obsidian。更细粒度的控制可在“设置 → Quick Editing → 命令开关”中完成。
getLanguage() API 自动跟随语言;中文语言变体显示简体中文,其他语言回退为英文。命令、菜单、设置、预览、通知和自动生成的默认标签均已本地化,中英文命令名都可以被搜索。Mod 在 macOS 上表示 Command,在 Windows/Linux 上表示 Ctrl。
Quick Editing 不注册任何默认快捷键,以免覆盖用户现有配置或与其他插件冲突。下面是可在“设置 → 快捷键”中手动绑定的建议组合:
| 操作 | 建议快捷键 |
|---|---|
| 添加/移除内部链接 | Alt+Z |
| 转换为同名链接 | Alt+Q |
| 智能符号 | Alt+; |
| 高亮格式刷 | Alt+Shift+G |
| 智能粘贴后备命令 | Mod+Alt+V |
| 转换无语法文本 | Mod+Alt+Z |
| 获取无语法文本 | Mod+Alt+C |
| 批量插入空行 | Mod+Shift+L |
| 批量去除空行 | Mod+Alt+L |
| 计算选区 | F9 |
其他命令默认不占用快捷键,可在 Obsidian 的“快捷键”设置中自行分配。
Quick Editing 不再维护下列重复实现。请直接在 Obsidian“设置 → 快捷键”中搜索对应核心命令:
| 操作 | Obsidian 核心命令 |
|---|---|
| 阅读/源码/实时预览切换 | markdown:toggle-preview、editor:toggle-source |
| H1–H6 与普通段落 | editor:set-heading-0 至 editor:set-heading-6 |
| 粗体、斜体、删除线、高亮 | editor:toggle-bold、editor:toggle-italics、editor:toggle-strikethrough、editor:toggle-highlight |
| Callout 与代码块 | editor:insert-callout、editor:insert-codeblock |
| 有序/无序列表 | editor:toggle-numbered-list、editor:toggle-bullet-list |
| 插入标签 | editor:insert-tag |
| 删除段落 | editor:delete-paragraph |
| 复制库内路径 | workspace:copy-path |
| 光标移动 | 编辑器及操作系统原生快捷键 |
Quick Editing。从 Releases 下载最新版。
将 main.js、manifest.json 和 styles.css 放入:
<你的库>/.obsidian/plugins/quick-editing/
重载 Obsidian,在“设置 → 第三方插件”中启用 Quick Editing。
Quick Editing 使用新的插件 ID。升级后请停用旧版 Enhanced-editing,避免重复注册命令和快捷键。旧版自定义快捷键不会自动迁移,需要在 Obsidian 设置中重新分配。
需要 Node.js 22 或更高版本。
npm ci
npm run check
npm run dev:监听源码并生成带 source map 的 main.js。npm run lint:执行 Obsidian 官方推荐的 ESLint 规则,任何警告都会使检查失败。npm run verify:检查版本一致性、命令 ID、类型诊断和禁止使用的 API。npm test:运行纯文本、粘贴、链接和设置等单元测试。npm run build:执行 TypeScript 检查并生成生产版 main.js。npm run smoke:验证构建产物能够由 Obsidian 运行环境加载。npm run check:依次执行上述发布前检查。main.js 是构建产物;代码修改应提交到 src/。
本项目整体以 MIT License 发布:
来源、贡献者署名与公开 Issue 授权记录见 NOTICE。版本更新记录见 CHANGELOG.md。