[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Custom <<anchor>> possibility?
From: |
Nicolas Goaziou |
Subject: |
Re: Custom <<anchor>> possibility? |
Date: |
Thu, 20 May 2021 21:59:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Jean Louis <bugs@gnu.support> writes:
> Is it possible to create a custom <<anchor>>:
>
> From: (info "(org) Internal Links")
>
> 1. one item
> 2. <<target>>another item
> Here we refer to item [[target]].
>
> That is fine, however, in the HTML output the <<target>> will become
> something like: <li><a id="orgc0c2c98"></a>another item</li>
>
> As I am developing finely grained referenced Org outputs I would need
> the id="orgc0c2c98" to be defined how I wish it and not interpolated
> into something random.
>
> Is there a possibility to tell Org, that <<target>> really remains
> "target" as in id="target" instead of a random ID?
See `org-html-prefer-user-labels'.
Regards.
--
Nicolas Goaziou