From b8634b9f75eaa8892a58ffd0cbe0ff8d89c257c8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 13 Jul 2015 22:50:17 -0700 Subject: HTML writer: support speaker notes in dzslides. With this change `
` and also `
` will be output if `-t dzslides` is used. So we can have speaker notes in dzslides too. Thanks to maybegeek. --- src/Text/Pandoc/Writers/HTML.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs index a1594b2c4..915b193f7 100644 --- a/src/Text/Pandoc/Writers/HTML.hs +++ b/src/Text/Pandoc/Writers/HTML.hs @@ -458,6 +458,7 @@ blockToHtml opts (Div attr@(_,classes,_) bs) = do if speakerNotes then case writerSlideVariant opts of RevealJsSlides -> addAttrs opts' attr $ H5.aside $ contents' + DZSlides -> addAttrs opts' attr $ H5.div $ contents' NoSlides -> addAttrs opts' attr $ H.div $ contents' _ -> mempty else addAttrs opts attr $ H.div $ contents' -- cgit v1.2.3