File: link-features.md

package info (click to toggle)
ruby-org 0.9.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,852 kB
  • sloc: ruby: 3,044; lisp: 50; makefile: 4
file content (41 lines) | stat: -rw-r--r-- 1,054 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41

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.

# Links to other org files

This is a link to the `code-comment.org` file in the same
directory. In `emacs`, if you click it, the other file opens. We
want the same behavior in the HTML export.

[Code Comment](file:code-comment.org)

# Search links

This is a search link into code-comment.org.

[Code Comment](file:code-comment.org::*Code%20Comment)

# Correct handling of .org URIs in HTML markup routine (thanks @rayl!)

 * [foo.com website](http://foo.com)

 * [foo.org website](http://foo.org)

 * [foo.org/foo.org](http://foo.org/foo.org)

 * [localhost:4567/foo.org](http://localhost:4567/foo.org)

# In these links, .org is converted to .html

 * [file:path.org label](file:path.org)

 * [file:notes/path.org label](file:notes/path.org)

# Links abbreviations

URLs can be abbreviated by a LINK definition in the org file


[This is an abbreviated link example](example)