Styling the slides
You can change the style of HTML slides by putting customized CSS files in $DATADIR/s5/default
(for S5), $DATADIR/slidy
(for Slidy), or $DATADIR/slideous
(for Slideous), where $DATADIR
is the user data directory (see --data-dir
, above). The originals may be found in pandoc’s system data directory (generally $CABALDIR/pandoc-VERSION/s5/default
). Pandoc will look there for any files it does not find in the user data directory.
For dzslides, the CSS is included in the HTML file itself, and may be modified there.
To style beamer slides, you can specify a beamer “theme” or “colortheme” using the -V
option:
pandoc -t beamer habits.txt -V theme:Warsaw -o habits.pdf