emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FR] stable literal hrefs in HTML export of direct links and usage o


From: Gregor Zattler
Subject: Re: [FR] stable literal hrefs in HTML export of direct links and usage of link description instead of numbered links in case of shortend link syntax
Date: Mon, 02 Sep 2024 13:00:20 +0200

Hi Ihor,
* Ihor Radchenko <yantar92@posteo.net> [2024-08-21; 16:51 GMT]:
> Gregor Zattler <telegraph@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.fsf@catern.com/
> https://list.orgmode.org/orgmode/CAJcAo8tXVW39h18FUXLtwoDYNKQsFHqCp+YDiyWfLee29B1PRw@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]