add CUSOTM_IDs to make toc links work in Emacs
[~bandali/configs] / emacs / init.org
index b0570d3..1e44cab 100644 (file)
@@ -5,9 +5,18 @@
 
 TODO: description
 
-TODO: toc
+* Contents                                                   :toc_1:noexport:
+
+- [[#intro][Intro]]
+- [[#header][Header]]
+- [[#initial-setup][Initial setup]]
+- [[#config][Config]]
+- [[#footer][Footer]]
 
 * Header
+:PROPERTIES:
+:CUSTOM_ID: header
+:END:
 
 ** First line
 
@@ -51,6 +60,9 @@ file.
 #+end_src
 
 * Initial setup
+:PROPERTIES:
+:CUSTOM_ID: initial-setup
+:END:
 
 #+begin_src emacs-lisp :comments none
 ;;; Code:
@@ -200,6 +212,11 @@ variable.
       version-control t)
 #+end_src
 
+* Config
+:PROPERTIES:
+:CUSTOM_ID: config
+:END:
+
 ** Org
 
 #+begin_src emacs-lisp
@@ -209,6 +226,9 @@ variable.
 #+end_src
 
 * Footer
+:PROPERTIES:
+:CUSTOM_ID: footer
+:END:
 
 #+begin_src emacs-lisp :comments none
 ;;; init.el ends here