中文介绍见 Obsidian Chinese Forum t38592
Keep Headings is an Obsidian community plugin and a pure JS project. It can update internal links, such as [[MD#Test]]
, when renaming a heading Test
within the note MD.md
.
When clicking on a heading, it will trigger a relatively more seamless modal for renaming, and will auto submit when clicking outside or pressing Ctrl + Enter. Press Esc to cancel.
- Won’t trigger on right click or click with Ctrl or Alt key. For management.
- Data processing fully relies on official “Rename this heading” command. Safe.
- If you accidentally submit an empty heading, though there will be a default “Update link” notice, don't worry as no actual changes will be made.
For the first time to take effect, please switch to another note or restart the software once.
Chinese version 中文版本,点击展开
-
希望按 Ctrl + Z 也可以撤销对应内部链接的重命名、希望批量重命名小标题等:软件目前提供的重命名小标题命令使用弹窗,插件需要使用官方方法以确保安全的数据处理。因此,脱离弹窗、需要独立复刻数据处理的需求,本插件不会添加。
-
改为光标移动到标题行触发:插件发布后,英文论坛有人写了一版 t86850#9,但有用户反映这种方式有其他问题 t75847#7,因而本插件不会添加该方式。
-
在重命名小标题这方面,插件始终只是变通方式,无感的体验仍需等待官方实现。在那之前,本插件期望保持简洁轻巧,以节省空间、优化性能、减少冲突。
-
Hope pressing Ctrl + Z to undo can also revert the internal links, bulk rename, etc: Since the current renaming command of Obsidian is implemented via the modal, the plugin should ensure the safety of data processing using the official method. Thus, requirements that fall outside the modal and involve separate replication of data processing won’t be added by this plugin.
-
Changed to trigger when the cursor moves to a heading line: After the release, someone wrote a version t86850#9. However some users reported that this method had other problems t75847#7, so this plugin won’t add it.
-
In terms of renaming headings, a plugin is always a workaround; a seamless experience still awaits official implementation. Before that, this plugin aims to remain simple and lightweight, to save space, optimize performance, and reduce conflicts.