* add class to *figure*, not *img*, on html export?
@ 2019-09-04 12:24 Matt Price
0 siblings, 0 replies; only message in thread
From: Matt Price @ 2019-09-04 12:24 UTC (permalink / raw)
To: Org Mode
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
in HTML export, the following org text:
#+ATTR_HTML: :class paired
[[file:~/DH/Images/louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg]]
exports for me as:
-----
<figure>
<img
src="file:///home/matt/DH/Images/louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg"
alt="louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg" class="paired">
</figure>
------
Is there a way to get the ~class="paired"~ attached to the *figure* rather
than the *img* tag? Thank you!
[-- Attachment #2: Type: text/html, Size: 720 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-09-04 12:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-04 12:24 add class to *figure*, not *img*, on html export? Matt Price
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).