emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] add class to *figure*, not *img*, on html export?


From: Matt Price
Subject: [O] add class to *figure*, not *img*, on html export?
Date: Wed, 4 Sep 2019 08:24:47 -0400


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="" 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!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]