|
From: | Max Nikulin |
Subject: | Re: [RFC][PATCH v2] Allow to export to ascii custom link types as notes |
Date: | Wed, 8 Nov 2023 17:57:49 +0700 |
User-agent: | Mozilla Thunderbird |
On 08/11/2023 17:45, Ihor Radchenko wrote:
(unless (org-element-property :org-link-code-exported link) (setq link (org-element-copy link)) (org-element-put-property link :org-link-code-exported t) (org-element-put-property :raw-link (org-element-create-inline-src-block ...)))
From my point of view a non-trivial element as :raw-link is a more ugly kludge than returning a `cons'. Perhaps a fragment of plain text with e.g. attr_ascii_note attribute set to inline source block is a better alternative.
[Prev in Thread] | Current Thread | [Next in Thread] |