1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
<h1 class="title">link-features.org</h1>
<p>Org-mode export supports a lot of link features. I’ve covered “simple”
HTML links elsewhere. Now let’s cover links to other org files, other
sections within documents, etc.</p>
<h1>Links to other org files</h1>
<p>This is a link to the <code>code-comment.org</code> file in the same
directory. In <code>emacs</code>, if you click it, the other file opens. We
want the same behavior in the HTML export.</p>
<p><a href="code-comment.org">Code Comment</a></p>
<h1>Search links</h1>
<p>This is a search link into code-comment.org.</p>
<p><a href="code-comment.org">Code Comment</a></p>
<h1>Correct handling of .org URIs in HTML markup routine (thanks @rayl!)</h1>
<ul>
<li><a href="http://foo.com">foo.com website</a></li>
<li><a href="http://foo.org">foo.org website</a></li>
<li><a href="http://foo.org/foo.org">foo.org/foo.org</a></li>
<li><a href="http://localhost:4567/foo.org">localhost:4567/foo.org</a></li>
</ul>
<h1>In these links, .org used to be converted to .html. Not anymore since 0.9.2 version of the gem</h1>
<ul>
<li><a href="path.org">file:path.org label</a></li>
<li><a href="notes/path.org">file:notes/path.org label</a></li>
</ul>
<h1>Links abbreviations</h1>
<p>URLs can be abbreviated by a LINK definition in the org file</p>
<p><a href="http://example.com/something">This is an abbreviated link example</a></p>
|