From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to tell `org-html-link' to create a link with some HTML class?
Date: Tue, 20 Jun 2023 23:30:32 +0700 [thread overview]
Message-ID: <u6sk7a$sm1$1@ciao.gmane.io> (raw)
In-Reply-To: <87jzvyeoci.fsf@mbork.pl>
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.fsf@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
next prev parent reply other threads:[~2023-06-20 16:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-20 4:42 How to tell `org-html-link' to create a link with some HTML class? Marcin Borkowski
2023-06-20 6:07 ` Jens Lechtenboerger
2023-06-20 15:20 ` Marcin Borkowski
2023-06-20 16:30 ` Max Nikulin [this message]
2023-06-21 19:17 ` Marcin Borkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='u6sk7a$sm1$1@ciao.gmane.io' \
--to=manikulin@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).