public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* reveal.js image vs figure
@ 2018-03-16 15:46 John Muccigrosso
       [not found] ` <4c0b920a-957b-4dcd-b444-78f39b58617f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: John Muccigrosso @ 2018-03-16 15:46 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1110 bytes --]

I'm messing around with reveal.js css, trying to get it to show images as 
large as possible, and I notice that when converting from markdown, if an 
image has a "caption", it shows up as a figure in the reveal.js html, but 
otherwise it shows up as just an image in p tags.

Specifically:

1. ![Caption](image url) turns into:

<figure>
<img data-src="/path/to/image" alt="Caption" /><figcaption>Caption
</figcaption>
</figure>


2. ![](image url) turns into:

<p>
<img data-src="/path/to/image" />
</p>

What's the logic here?

Thanks.

-- 
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/4c0b920a-957b-4dcd-b444-78f39b58617f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 3930 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-12 23:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-16 15:46 reveal.js image vs figure John Muccigrosso
     [not found] ` <4c0b920a-957b-4dcd-b444-78f39b58617f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-03-16 17:48   ` John Muccigrosso
     [not found]     ` <ca256c0b-051d-493e-b57c-84db97da4a8f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-09 17:41       ` pbeltran
2019-04-12 23:40   ` jmuccigr-Re5JQEeQqe8AvxtiuMwx3w

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).