git.iko.soy/typeable/pandoc
on master help sign in
Documented revealjs in README and pandoc.cabal description.
commit572457f8a96d8d9e197af8cea609daa6b859f5f7 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 23 Mar 2013, 21:46 (14 years ago) parentda1e388
2 files changed+23−14
README+21−13 pandoc.cabal+2−1
README+21−13
@@ -18,9 +18,9 @@ plain text, [markdown], [reStructuredText], [XHTML], [HTML 5], [LaTeX]
1818(including [beamer] slide shows), [ConTeXt], [RTF], [OPML], [DocBook],
1919[OpenDocument], [ODT], [Word docx], [GNU Texinfo], [MediaWiki markup],
2020[EPUB] (v2 or v3), [FictionBook2], [Textile], [groff man] pages, [Emacs
21−Org-Mode], [AsciiDoc], and [Slidy], [Slideous], [DZSlides], or [S5] HTML
22−slide shows. It can also produce [PDF] output on systems where LaTeX is
23−installed.
21+Org-Mode], [AsciiDoc], and [Slidy], [Slideous], [DZSlides], [reveal.js]
22+or [S5] HTML slide shows. It can also produce [PDF] output on systems
23+where LaTeX is installed.
2424
2525Pandoc's enhanced version of markdown includes syntax for footnotes,
2626tables, flexible ordered lists, definition lists, fenced code blocks,
@@ -167,12 +167,14 @@ General options
167167 `context` (ConTeXt), `man` (groff man), `mediawiki` (MediaWiki markup),
168168 `textile` (Textile), `org` (Emacs Org-Mode), `texinfo` (GNU Texinfo),
169169 `opml` (OPML), `docbook` (DocBook), `opendocument` (OpenDocument), `odt`
170− (OpenOffice text document), `docx` (Word docx), `epub` (EPUB book), `epub3`
170+ (OpenOffice text document), `docx` (Word docx),
171+ `rtf` (rich text format), `epub` (EPUB v2 book), `epub3`
171172 (EPUB v3), `fb2` (FictionBook2 e-book), `asciidoc` (AsciiDoc), `slidy`
172173 (Slidy HTML and javascript slide show), `slideous` (Slideous HTML and
173− javascript slide show), `dzslides` (HTML5 + javascript slide show), `s5`
174− (S5 HTML and javascript slide show), or `rtf` (rich text format). Note that
175− `odt`, `epub`, and `epub3` output will not be directed to *stdout*; an output
174+ javascript slide show), `dzslides` (DZSlides HTML5 + javascript slide
175+ show), `revealjs` (reveal.js HTML5 + javascript slide show), `s5`
176+ (S5 HTML and javascript slide show). Note that `odt`, `epub`, and
177+ `epub3` output will not be directed to *stdout*; an output
176178 filename must be specified using the `-o/--output` option. If `+lhs` is
177179 appended to `markdown`, `rst`, `latex`, `beamer`, `html`, or `html5`, the
178180 output will be rendered as literate Haskell source: see [Literate Haskell
@@ -219,12 +221,11 @@ Reader options
219221: Parse untranslatable HTML codes and LaTeX environments as raw HTML
220222 or LaTeX, instead of ignoring them. Affects only HTML and LaTeX
221223 input. Raw HTML can be printed in markdown, reStructuredText, HTML,
222− Slidy, Slideous,
223− DZSlides, and S5 output; raw LaTeX can be printed in markdown,
224− reStructuredText, LaTeX, and ConTeXt output. The default is for the
225− readers to omit untranslatable HTML codes and LaTeX environments.
226− (The LaTeX reader does pass through untranslatable LaTeX *commands*,
227− even if `-R` is not specified.)
224+ Slidy, Slideous, DZSlides, reveal.js, and S5 output; raw LaTeX
225+ can be printed in markdown, reStructuredText, LaTeX, and ConTeXt output.
226+ The default is for the readers to omit untranslatable HTML codes and
227+ LaTeX environments. (The LaTeX reader does pass through untranslatable
228+ LaTeX *commands*, even if `-R` is not specified.)
228229
229230`-S`, `--smart`
230231: Produce typographically correct output, converting straight quotes
@@ -755,6 +756,12 @@ depending on the output format, but include:
755756: base URL for Slideous documents (defaults to `default`)
756757`s5-url`
757758: base URL for S5 documents (defaults to `ui/default`)
759+`revealjs-url`
760+: base URL for reveal.js documents (defaults to `reveal.js`)
761+`theme`
762+: reveal.js theme
763+`transition`
764+: reveal.js transition
758765`fontsize`
759766: font size (10pt, 11pt, 12pt) for LaTeX documents
760767`documentclass`
@@ -2640,4 +2647,5 @@ Sergey Astanin, Arlo O'Keeffe, Denis Laxalde, Brent Yorgey.
26402647[ISO 8601 format]: http://www.w3.org/TR/NOTE-datetime
26412648[Word docx]: http://www.microsoft.com/interop/openup/openxml/default.aspx
26422649[PDF]: http://www.adobe.com/pdf/
2650+[reveal.js]: http://lab.hakim.se/reveal-js/
26432651[FictionBook2]: http://www.fictionbook.org/index.php/Eng:XML_Schema_Fictionbook_2.1
pandoc.cabal+2−1
@@ -21,7 +21,8 @@ Description: Pandoc is a Haskell library for converting from one markup
2121 HTML, LaTeX, ConTeXt, Docbook, OPML, OpenDocument, ODT,
2222 Word docx, RTF, MediaWiki, Textile, groff man pages,
2323 plain text, Emacs Org-Mode, AsciiDoc, EPUB (v2 and v3),
24− FictionBook2, and S5, Slidy and Slideous HTML slide shows.
24+ FictionBook2, and several kinds of HTML/javascript
25+ slide shows (S5, Slidy, Slideous, DZSlides, reveal.js).
2526 .
2627 Pandoc extends standard markdown syntax with footnotes,
2728 embedded LaTeX, definition lists, tables, and other