When linking to a heading containing <<foo>>
using the syntax [[foo]]
, M-x org-html-export-to-html
generates a link using section number as the link text: <a href="#org6bfafed">2.1.4</a>
.
Is it possible to configure the exporter such that instead of "2.1.4" it uses "foo" as the link text?
(I know I can also achieve this laboriously by rewriting all links to be of the form [[foo][foo]]
- but that's obviously not the ideal solution).