23 lines
490 B
Org Mode
23 lines
490 B
Org Mode
|
#+TITLE: README
|
||
|
#+AUTHOR: Yann Esposito
|
||
|
#+EMAIL: yann@esposito.host
|
||
|
|
||
|
* org-auto-id
|
||
|
:PROPERTIES:
|
||
|
:CUSTOM_ID: org-auto-id
|
||
|
:END:
|
||
|
|
||
|
This package generate nice CUSTOM_ID when saving an org file.
|
||
|
The format of the id will use the content of the org items.
|
||
|
This is useful to have stable anchor when exporting org file to HTML.
|
||
|
|
||
|
To enable it you should add:
|
||
|
|
||
|
#+begin_src org-mode
|
||
|
#+OPTIONS: auto-id:t
|
||
|
#+end_src
|
||
|
|
||
|
In your org file.
|
||
|
|
||
|
This will generate warning if it detects duplicate CUSTOM_ID.
|