git.iko.soy/typeable/pandoc
on master help sign in
Revealjs: allow 'center' to be set to false.
734b0bcJohn MacFarlane
data/templates+1−1

Submodule changed.

src/Text/Pandoc/Writers/HTML.hs+3
@@ -194,6 +194,9 @@ pandocToHtml opts (Pandoc meta blocks) = do
194 defField "revealjs-url" ("reveal.js" :: String) $
194 defField "revealjs-url" ("reveal.js" :: String) $
195 defField "s5-url" ("s5/default" :: String) $
195 defField "s5-url" ("s5/default" :: String) $
196 defField "html5" (writerHtml5 opts) $
196 defField "html5" (writerHtml5 opts) $
197+ defField "center" (case lookupMeta "center" meta of
198+ Just (MetaBool False) -> False
199+ _ -> True) $
197 metadata
200 metadata
198 return (thebody, context)
201 return (thebody, context)
199
202