git.iko.soy/typeable/pandoc
on master help sign in
HTML writer: support speaker notes in dzslides.

With this change `<div class="notes">` and also `<div class="notes" role="note">` will be output if `-t dzslides` is used. So we can have speaker notes in dzslides too. Thanks to maybegeek.

commitb8634b9f75eaa8892a58ffd0cbe0ff8d89c257c8 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 13 Jul 2015, 22:50 (11 years ago) parent1668e8e
1 file changed+1
src/Text/Pandoc/Writers/HTML.hs+1
src/Text/Pandoc/Writers/HTML.hs+1
@@ -458,6 +458,7 @@ blockToHtml opts (Div attr@(_,classes,_) bs) = do
458458 if speakerNotes
459459 then case writerSlideVariant opts of
460460 RevealJsSlides -> addAttrs opts' attr $ H5.aside $ contents'
461+ DZSlides -> addAttrs opts' attr $ H5.div $ contents'
461462 NoSlides -> addAttrs opts' attr $ H.div $ contents'
462463 _ -> mempty
463464 else addAttrs opts attr $ H.div $ contents'