From: Jeremy Theler <jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Adding classes to <figure> in html
Date: Thu, 25 Apr 2019 18:11:37 -0300 [thread overview]
Message-ID: <2144aff0ca3598757c06c106fc71cde584fec21a.camel@seamplex.com> (raw)
[-- 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 --]
reply other threads:[~2019-04-25 21:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2144aff0ca3598757c06c106fc71cde584fec21a.camel@seamplex.com \
--to=jeremy-24em0bpozefwk0htik3j/w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.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.
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).