link-features.org

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

Emacs Code Comment

Sys Code Comment

Search links

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

Code Comment

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

In these links, .org used to be converted to .html. Not anymore since 0.9.2 version of the gem

Links abbreviations

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

This is an abbreviated link example