Published on

Hyperlinks in Orgmode


I have been using Orgmode more and more lately and the more I use it and discover new features with it the more I enjoy using it to keep notes. Creating links in Orgmode is fairly simple:

[[][Whatever display text you want]]

Where it gets interesting is that you can also link to sections in your current document. These links happen based on headings i.e. lines that start with different numbers of * depending on the level of the heading. So if I have the following for example:

* Some Heading
** Some Other Heading

I can then refer to Some Other Heading as follows:

[[Some Other Heading][Whatever display text you want]]

Orgmode tries to do a string match against the headings in your document to work out how to establish the link to that heading. More on links in Orgmode can be found here.