diff options
author | Jamie F. Olson <jamie.f.olson@gmail.com> | 2013-03-20 16:59:47 -0400 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-03-21 14:54:17 -0700 |
commit | 6b53a905c4f4578d275cf7567038d4b870b94848 (patch) | |
tree | 249456bbc32df344ab99310c8f74704e45ddc6f9 /src/Text/Pandoc.hs | |
parent | ff9af6c9e50bbe6d6bc58427338b703513622094 (diff) |
Added basic support for reveal.js.
Support unordered and ordered lists with "fragment" elements.
Modified by JGM to remove the --reveal_js-url command-line option.
Instead use -V reveal_js-url=... as with slidy and the other slide
formats. Also cleaned up the list code in the HTML writer.
Diffstat (limited to 'src/Text/Pandoc.hs')
-rw-r--r-- | src/Text/Pandoc.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs index ca923d091..7e9932c1b 100644 --- a/src/Text/Pandoc.hs +++ b/src/Text/Pandoc.hs @@ -231,6 +231,9 @@ writers = [ ,("dzslides" , PureStringWriter $ \o -> writeHtmlString o{ writerSlideVariant = DZSlides , writerHtml5 = True }) + ,("reveal_js" , PureStringWriter $ \o -> + writeHtmlString o{ writerSlideVariant = RevealJsSlides + , writerHtml5 = True }) ,("docbook" , PureStringWriter writeDocbook) ,("opml" , PureStringWriter writeOPML) ,("opendocument" , PureStringWriter writeOpenDocument) |