[emacs] fix post initialization TOC link on GitHub
authorAmin Bandali <amin@aminb.org>
Sat, 28 Apr 2018 20:09:22 +0000 (16:09 -0400)
committerAmin Bandali <amin@aminb.org>
Sat, 28 Apr 2018 20:09:22 +0000 (16:09 -0400)
GitHub's Org mode renderer doesn't use the CUSTOM_ID property for
generating internal in-file links like Org mode itself does. So, at
least for now, the internal link has to match the heading's full name.

init.org

index 371ec1e..88f5e24 100644 (file)
--- a/init.org
+++ b/init.org
@@ -28,7 +28,7 @@ having fast startup times.
 - [[#header][Header]]
 - [[#initial-setup][Initial setup]]
 - [[#core][Core]]
-- [[#post-init][Post initialization]]
+- [[#post-initialization][Post initialization]]
 - [[#footer][Footer]]
 
 * Header
@@ -638,7 +638,7 @@ TODO: break this giant source block down into individual org sections.
 
 * Post initialization
 :PROPERTIES:
-:CUSTOM_ID: post-init
+:CUSTOM_ID: post-initialization
 :END:
 
 Display how long it took to load the init file.