Links - novoid/lazyblorg GitHub Wiki

Orgmode Elements > Links


For lazyblorg, there are differnt types of links. The most obvious one is the link to external http pages: external links. You can also link other blog articles using the :ID: properties: internal links. And you can link an image file which is discussed on Images.

Links to Web Pages (External Links)

Any http(s)-links within an Org-mode article will result in

<a href="…">…</a>

in the resulting HTML. See Sanitizing for all elements that may contain those links.

Example:

[[http://Karl-Voit.at][Homepage of Karl]]

…results in:

<a href="http://Karl-Voit.at">Homepage of Karl</a>

Linking Other Blog Articles (Internal Links)

For linking to another blog article within the same blog, please do use :ID: properties.

For example: the first article below with the ID 2017-06-04-interesting is linked in the second article using:

[[id:2017-06-04-interesting][my other article]]
*** DONE This Is an Interesting Article                        :blog:
CLOSED: [2017-06-04 Sun 18:15]
:PROPERTIES:
:ID: 2017-06-04-interesting
:CREATED:  [2017-06-04 Sun 17:59]
:END:
:LOGBOOK:
- State "DONE"       from "NEXT"       [2017-06-04 Sun 18:15]
:END:
…
This is the interesting stuff.
…
*** DONE A Boring Article Referring To Another One     :blog:example:
CLOSED: [2017-05-27 Sat 17:43] SCHEDULED: <2017-05-28 Sun>
:PROPERTIES:
:CREATED:  [2017-05-27 Sat 17:30]
:ID: 2017-05-27-example-reference
:END:
:LOGBOOK:
- State "DONE"       from "NEXT"       [2017-05-27 Sat 17:43]
:END:
…
In case you want to read something really interesing,
visit [[id:2017-06-04-interesting][my other article]] in this blog.

See Sanitizing for all elements that may contain those internal links.

If you need to use internal links within examples that should not get sanitized, please make sure they contain ignoreme somewhere.

⚠️ **GitHub.com Fallback** ⚠️