emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-mode ASCII Export to support numbered references for links
@ 2021-12-13  1:56 Husain Alshehhi
  2021-12-13  2:27 ` Samuel Wales
  0 siblings, 1 reply; 5+ messages in thread
From: Husain Alshehhi @ 2021-12-13  1:56 UTC (permalink / raw)
  To: emacs-orgmode

Org-mode's ascii export uses the link's description to create a reference to it at the end of the document. For example, a link to google will look like this:

,----
| This is a [link to google].
|
| [link to google] <https://www.google.com>
`----

Is there a way to modify this behavior to using a number reference rather than link description? Such as:

,----
|
| This is a link to google[1].
|
| [1] <https://www.google.com>
`----

The reasoning behind this is that using numbers is more intuitive (as it is the common practice it plain text posts, emails etc.) Also, when there are two different links with the same description, the export is going to be confusing to the reader. This happens when I use the description "link".



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

end of thread, other threads:[~2021-12-19  4:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13  1:56 Org-mode ASCII Export to support numbered references for links Husain Alshehhi
2021-12-13  2:27 ` Samuel Wales
2021-12-13  2:30   ` Samuel Wales
2021-12-19  4:55     ` Husain Alshehhi
2021-12-19  4:52   ` Husain Alshehhi

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).