[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Help resolving CUSTOM_ID based links that point to outside curre
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Help resolving CUSTOM_ID based links that point to outside current subtree scope |
Date: |
Tue, 01 Aug 2017 18:46:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Kaushal Modi <address@hidden> writes:
> Also, I am working on implementing this in an exporter backend. So what
> would be the canonical way to do that in ox-foo.el?
I think I would do something like this: in a parse tree filter, find
every custom ID link then expand current buffer, find real destination,
and replace the original ID link with an external link generated from
the aforementioned destination.
Regards,