File: link-features.html

package info (click to toggle)
ruby-org 0.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,476 kB
  • ctags: 213
  • sloc: ruby: 2,748; lisp: 50; makefile: 4
file content (27 lines) | stat: -rw-r--r-- 1,369 bytes parent folder | download
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
<p class="title">link-features.org</p>
<p>Org-mode export supports a lot of link features. I&#8217;ve covered &#8220;simple&#8221;
  HTML links elsewhere. Now let&#8217;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.html">Code Comment</a></p>
<h1>Search links</h1>
<p>This is a search link into code-comment.org.</p>
<p><a href="code-comment.html">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 is converted to .html</h1>
<ul>
  <li><a href="path.html">file:path.org label</a></li>
  <li><a href="notes/path.html">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>