On 20/06/2023 11:42, Marcin Borkowski wrote:
as I mentioned some time ago, I'm writing a custom exporter (actually,
a very thin wrapper around the HTML exporter). I'd like `org-html-link'
to add some class to the links it generates. Is that possible?
I do not have a ready to use recipe. Some links to mailing list threads:
https://list.orgmode.org/t8q71r$mgv$1...@ciao.gmane.io/
Max Nikulin. [BUG] manual: confusing example of adding attributes to a
link (affiliated keywords) Mon, 20 Jun 2022 23:25:29 +0700
Unfortunately
#+attr_html: :class something
adds class to the whole following paragraph as well. Notice a link to a
John Kitchin blog post. Another thread with the same link:
https://list.orgmode.org/87im8k3be8....@posteo.net/
Juan Manuel MacĂas. Re: [tip] Export subfigures to LaTeX (and HTML).
Tue, 29 Dec 2020 16:00:31 +0100
I have not tried to implement an idea with a parse-tree export filter
that transfers attributes from links having a custom type to following
objects (Ihor is against such approach):
Max Nikulin. Re: About 'inline special blocks' Tue, 24 May 2022 22:09:33
+0700. https://list.orgmode.org/t6isfe$c50$1...@ciao.gmane.io