Hi Ihor, * Ihor Radchenko <yanta...@posteo.net> [2024-08-21; 16:51 GMT]: > Gregor Zattler <telegr...@gmx.net> writes: >> I write a piece documentation with a >> glossary in form of a description list >> and want to able to link to the >> descriptions. The thing is then >> exported to HTML. >> >> The only way to do that I found was with >> direct links, but this >> >> 1. does not allow for stable hrefs [...] > You can customize `org-html-prefer-user-labels' to suppress > automatically generated IDs in your scenario.
thanks, that helps. >> 1. that instead of a random id the link >> description is used as a href and >> therefore be stable between different >> exports, and [...] > Of course, we might also go into previously discussed idea to generate > valid IDs based on the text (we usually talk about it in the context of > headline IDs), but that will simply be a repetition of the previous > threads like > https://list.orgmode.org/orgmode/87wnrhl7z7....@catern.com/ > https://list.orgmode.org/orgmode/cajcao8txvw39h18fuxltwodynkqsfhqcp+ydiywflee29b1...@mail.gmail.com/ thanks, interesting read, mostly above my level of knowledge, but FWIW I agree with your proposal https://yhetil.org/87fsfutwin.fsf@localhost to generate links from (washed/sanitized) text plus additional randomization added. Regards, Gregor