Sébastien Gendre <s...@k-7.ch> writes: > In ox-html.el, their is a custom that I can't understand : > `org-html-prefer-user-labels' > > I have read its doc string, but I still don't understand it. > > Can someone explain it ? Thank you very much.
Export usually generates internal ids for references dynamically, by calling `org-export-get-reference'. This is done to make sure that there are no duplicate ids. When `org-html-prefer-user-labels' is set, radio targets, targets, elements with #+NAME, and headings with ID, will use their corresponding name/id literally, without checking for duplicates. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>