问题描述
在文档中,我想创建一个内部链接。 as expected在常规链接上有效。但是,当标题本身是超链接时,则不起作用。 应该如何做到这一点?
Trying to link to [[heading1]] and [[???]]
* heading1
These are some contents.
* [[http://example.com][heading2]]
These are some more contents.
解决方法
转到第二个标题并执行C-c l
来存储链接(假设您已按照手册中的建议设置了键绑定:如果没有,请说M-x org-store-link RET
)。
然后转到您要插入链接的位置并执行C-c C-l
(或M-x org-insert-link RET
)。
现在尝试您的新链接:对我来说很好。
记录下来,工作结果如下:
Trying to link to [[Heading1]] and [[*\[\[http://example.com\]\[Heading2\]\]][Heading2]]
* Heading1
These are some contents.
* [[http://example.com][Heading2]]
These are some more contents.