The documented syntax for reveal.js columns plays well with pandoc-crossref subfigures for HTML (and, I suppose, EPUB) output:

:::::: {.columns #fig:mainFigure}
::: {.column}
![First subfigure](){#fig:subFigureA}
::: <!-- close first column -->
::: {.column}
![Second subfigure(){#fig:subFigureB}
::: <!-- close second column -->
General caption
:::::: <!-- close column layout -->

Then add `div.column { float: left; }` to your CSS.

Cheers,
Pedro.

Em sábado, 10 de abril de 2021 às 18:58:52 UTC+1, emil.t...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org escreveu:
Hi,
I'd like to have two subfigures side-by-side. I'm using the pandoc-crossref filter method of subfigures. I tried turning them into a subsubfigure, and also the column layout method as described in https://bookdown.org/yihui/rmarkdown-cookbook/multi-column.html . Does anybody know a way?
Thanks for your contributions to the pandoc paradigm
Emil

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a5dedae6-09aa-4a62-b843-8f36ce11a456n%40googlegroups.com.