[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exporting elisp: and shell: links
From: |
Ihor Radchenko |
Subject: |
Re: Exporting elisp: and shell: links |
Date: |
Thu, 21 Sep 2023 09:49:53 +0000 |
Max Nikulin <manikulin@gmail.com> writes:
>> As a user, I would expect
>>
>> [[elisp:(identity "a")]]
>>
>> to be export-equivalent to
>>
>> src_elisp[:exports code]{(identity "a")}
>>
>> across all backends.
Makes sense.
>>> What is your expectation for links having description?
>>>
>>> [[elisp:(identity "a")][Run it]]
>>
>> Good point! Perhaps we just need to find a
>> good symbol that would work well between the
>> Elisp code and the description?
>>
>> For example
>>
>> /Run it/ \to src_elisp[:exports code]{(identity "a")}
>>
>> exports to ASCII as
>>
>> /Run it/ -> `(identity "a")'
>>
>> Of course, \to could be something else...
Another idea: use code as description displayed in the tooltip (in html).
Copy-on-clip also makes sense.
Yet another idea: export code inside a footnote. This will work across
all the backends.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: [DISCUSSION] May we recognize everything like [[protocol:uri]] as a non-fuzzy link? (was: [BUG] URI handling is overly complicated and nonstandard [9.6.7 (N/A @ /gnu/store/mg7223g8mw90lccp6mm5g6f3mpjk70si-emacs-org-9.6.7/share/emacs/site-lisp/org-9.6.7/)]), (continued)
- [BUG] URI handling is overly complicated and nonstandard [9.6.7 (N/A @ /gnu/store/mg7223g8mw90lccp6mm5g6f3mpjk70si-emacs-org-9.6.7/share/emacs/site-lisp/org-9.6.7/)], Max Nikulin, 2023/09/02
- Re: [BUG] URI handling is overly complicated and nonstandard [9.6.7 (N/A @ /gnu/store/mg7223g8mw90lccp6mm5g6f3mpjk70si-emacs-org-9.6.7/share/emacs/site-lisp/org-9.6.7/)], Ihor Radchenko, 2023/09/03
- Re: [BUG] URI handling is overly complicated and nonstandard [9.6.7 (N/A @ /gnu/store/mg7223g8mw90lccp6mm5g6f3mpjk70si-emacs-org-9.6.7/share/emacs/site-lisp/org-9.6.7/)], Max Nikulin, 2023/09/04
- Re: [BUG] URI handling is overly complicated and nonstandard [9.6.7 (N/A @ /gnu/store/mg7223g8mw90lccp6mm5g6f3mpjk70si-emacs-org-9.6.7/share/emacs/site-lisp/org-9.6.7/)], Ihor Radchenko, 2023/09/05
- Re: [BUG] URI handling is overly complicated and nonstandard [9.6.7 (N/A @ /gnu/store/mg7223g8mw90lccp6mm5g6f3mpjk70si-emacs-org-9.6.7/share/emacs/site-lisp/org-9.6.7/)], Max Nikulin, 2023/09/10
- Re: [BUG] URI handling is overly complicated and nonstandard [9.6.7 (N/A @ /gnu/store/mg7223g8mw90lccp6mm5g6f3mpjk70si-emacs-org-9.6.7/share/emacs/site-lisp/org-9.6.7/)], Rudolf Adamkovič, 2023/09/17
- Exporting elisp: and shell: links, Max Nikulin, 2023/09/18
- Re: Exporting elisp: and shell: links, Rudolf Adamkovič, 2023/09/18
- Re: Exporting elisp: and shell: links, Max Nikulin, 2023/09/19
- Re: Exporting elisp: and shell: links,
Ihor Radchenko <=
- Re: Exporting elisp: and shell: links, Rudolf Adamkovič, 2023/09/22
- Re: Exporting elisp: and shell: links, Max Nikulin, 2023/09/25
- Re: Exporting elisp: and shell: links, Ihor Radchenko, 2023/09/26
- Re: Exporting elisp: and shell: links, Rudolf Adamkovič, 2023/09/28
Re: [DISCUSSION] May we recognize everything like [[protocol:uri]] as a non-fuzzy link? (was: [BUG] URI handling is overly complicated and nonstandard [9.6.7 (N/A @ /gnu/store/mg7223g8mw90lccp6mm5g6f3mpjk70si-emacs-org-9.6.7/share/emacs/site-lisp/org-9.6.7/)]), Max Nikulin, 2023/09/04