【问题标题】:Internal link to a hyperlink heading指向超链接标题的内部链接
【发布时间】:2020-08-16 02:28:56
【问题描述】:
在文档中,我想创建一个内部链接。这适用于常规链接as expected。但是当标题本身是一个超链接时,这不起作用。 应该如何做到这一点?
Trying to link to [[Heading1]] and [[???]]
* Heading1
These are some contents.
* [[http://example.com][Heading2]]
These are some more contents.
【问题讨论】:
标签:
hyperlink
org-mode
heading
【解决方案1】:
转到第二个标题并执行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.