An Org Mode based blog engine

#3Org file anchors

Headlines should always be usable as anchor. So the following Org mode markup:

  • My Headline

Should be translated to something like this:

<a name="my_headline"></a><h1>My Headline</h1>

As a result, the headline can be referenced from other documents like this:

[[/org/my_document#my_headline][My Headline]]

Problem: How to cope with changing headlines? A changes headline would lead to dead hyperlinks. Maybe tags could be a solution here:

  • My Headline :name:permanent_name:

compiles to:

<a name="permanent_name"></a><h1>My Headline</h1>