public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Adding classes to <figure> in html
@ 2019-04-25 21:11 Jeremy Theler
  0 siblings, 0 replies; only message in thread
From: Jeremy Theler @ 2019-04-25 21:11 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]

Is there a way to add classes to the <figure> environment in html5?
I mean, consider the Bootstrap case: 
https://getbootstrap.com/docs/4.3/content/figures/

How can I have the extra classes in <figure>, <img> and <figcaption>
from markdown without recurring to sed on the generated html?


<figure class="figure">
  <img src="..." class="figure-img img-fluid rounded" alt="...">
  <figcaption class="figure-caption">A caption for the above
image.</figcaption>
</figure>


Thanks
--
jeremy theler
www.seamplex.com

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2144aff0ca3598757c06c106fc71cde584fec21a.camel%40seamplex.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 2519 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-25 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-25 21:11 Adding classes to <figure> in html Jeremy Theler

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 NNTP newsgroup(s).