On 2023-05-30, at 20:45, Marcin Borkowski <mb...@mbork.pl> wrote:
>> Just use `org-export-as'. > > Thanks again, I didn't know about that function! I tried playing around with it, but it has one drawback - I can't use it to export a subtree containing a link to another subtree, and that is something I will definitely need. (I can see why it works that way - for that to work, I have to somehow make sure that subtrees containing targets of those links are also exported at some point in time - but I need another behavior...) My current idea is to go with a custom exporter derived from the HTML one, indeed. Is there a better approach? Best, -- Marcin Borkowski http://mbork.pl