[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Conditional link export?

From: Aaron Ecay
Subject: Re: [O] Conditional link export?
Date: Fri, 06 Nov 2015 13:26:31 +0000
User-agent: Notmuch/0.20.2+65~gbd5504e (http://notmuchmail.org) Emacs/ (x86_64-unknown-linux-gnu)

Hi again,

2015ko azaroak 6an, Aaron Ecay-ek idatzi zuen:
> Hi Oleh,
> One approach would be to use a parse-tree filter to change one kind of
> link into another.  Something like the following (not tested):
> ,----
> | (defun awe/change-info-links (tree backend _info)
> |   (org-element-map tree 'link
> |     (lambda (link)
> |       (when (org-export-derived-backend-p backend 'html)

add (equal (org-element-property :type link) "info") to the condition of
the when.

derp derp derp,

Aaron Ecay

reply via email to

[Prev in Thread] Current Thread [Next in Thread]