org-id-get-or-create
不知道是不是你想要的
org-id-get-create is an interactive compiled Lisp function in
‘org-id.el’.
(org-id-get-create &optional FORCE)
Create an ID for the current entry and return it.
If the entry already has an ID, just return it.
With optional argument FORCE, force the creation of a new ID.
如果 headline 没有 ID,会创建一个写入到 PROPERTIES 里
有这个 ID 后,创建指向这个 headline 的链接就可以这样写:
参考文献见 [[id:f1f20679-ba36-4aba-b798-b25494a44b75][Footnotes]]