all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [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
@ 2024-08-20 15:04 Gregor Zattler
  2024-08-20 18:47 ` Ihor Radchenko
  2024-08-21 16:51 ` Ihor Radchenko
  0 siblings, 2 replies; 4+ messages in thread
From: Gregor Zattler @ 2024-08-20 15:04 UTC (permalink / raw)
  To: emacs-orgmode

Dear org-mode developers, this is
a twofold feature request:

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
2. and numbers the link text if the
   abbreviated org link syntax [[link]]
   is used:


This

  An Emacs [[frame]] may be
  opened...

  - <<frame>> frame :: This is ancient
    terminology...


This renders into (among other things):

<div id="content" class="content">
<p>
An Emacs <a href="#orgc6125eb">1</a> may be
opened&#x2026;
</p>

<dl class="org-dl">
<dt><a id="orgc6125eb"></a> frame</dt><dd>This is ancient
terminology&#x2026;</dd>
</dl>
</div>


Since in the org-mode document the
author has to care for the
unambiguousness of the link anyway I
would expect:

1. that instead of a random id the link
   description is used as a href and
   therefore be stable between different
   exports, and
2. the link description is used instead
   of a number in case of a shortened
   [[link]].


The second effect does not show up, if
[[link][link]] is used instead of
[[link]] but this  is tedious to type
and IMHO unneccesary.

If this feature request are not / cannot
be met: Is there a workaround to at
least achive the goal of stable href
links?

Thanks for org-mode and your attention, Gregor


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-02 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20 15:04 [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 Gregor Zattler
2024-08-20 18:47 ` Ihor Radchenko
2024-08-21 16:51 ` Ihor Radchenko
2024-09-02 11:00   ` Gregor Zattler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.