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.


Reply via email to