public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* pandoc and revealjs r-fit-text and r-stretch?
@ 2022-01-05 21:06 Joseph Reagle
       [not found] ` <dffcab84-b283-2864-da6d-787851b6a3c3-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Joseph Reagle @ 2022-01-05 21:06 UTC (permalink / raw)
  To: pandoc-discuss

I'd love to use revealjs's `r-fit-text` and `r-stretch` [1] in the new year, but they don't work with decks generated by pandoc.

`r-fit-text` doesn't work because pandoc applies the class to both the heading and the section, and so the element gets a double dose of movement [2].

And an `img.r-stretch` must be a child of the section, and pandoc typically puts img in another element (e.g., `p`).

Does anyone have any hacks for using these? Or, if this pandoc generated structure isn't likely to change, perhaps we should put a request in to Hakim to accommodate the pandoc structure?

[1]: https://revealjs.com/layout/#fit-text
[2]: https://github.com/jgm/pandoc/issues/5965#issuecomment-862314880


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

end of thread, other threads:[~2022-01-07 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 21:06 pandoc and revealjs r-fit-text and r-stretch? Joseph Reagle
     [not found] ` <dffcab84-b283-2864-da6d-787851b6a3c3-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2022-01-06 23:14   ` John MacFarlane
2022-01-07 15:32   ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]     ` <96ebec32-6e13-49f2-9fe9-bbcfbb74f47bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-01-07 15:57       ` Joseph Reagle
     [not found]         ` <7c4377d5-12cf-c663-2d48-835dc20de890-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2022-01-07 16:50           ` jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

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