emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Max Nikulin <manikulin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to tell `org-html-link' to create a link with some HTML class?
Date: Wed, 21 Jun 2023 21:17:52 +0200	[thread overview]
Message-ID: <871qi4eian.fsf@mbork.pl> (raw)
In-Reply-To: <u6sk7a$sm1$1@ciao.gmane.io>


On 2023-06-20, at 18:30, Max Nikulin <manikulin@gmail.com> wrote:

> 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:
>
> [...]

Thanks.  My use case is a bit different – I explicitly do not want to
mark these links in the Org file, but I want my custom exporter to add
some class to "external" links.  (Yes, I am coding yet another blogging
platform on top of Org mode – but I believe it has some novel aspects;
I did review the existing options and none of them seems to do what
I want.)

Thanks anyway,

-- 
Marcin Borkowski
http://mbork.pl


      reply	other threads:[~2023-06-21 19:20 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
2023-06-21 19:17   ` Marcin Borkowski [this message]

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=871qi4eian.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=emacs-orgmode@gnu.org \
    --cc=manikulin@gmail.com \
    /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).