- Install the latest version of Pandoc
- Clone this repository by
git clone https://github.com/aekt/seminar.git
- Write your source slides
source.md
in Markdown - Convert your source to HTML slides like this:
pandoc --from markdown+emoji --to revealjs -V theme=simple --mathjax -s -o index.html source.md
- Push your files to some host like GitHub Pages or run locally
Other than Markdown, you may write your slides in any other formats
supported by Pandoc. To use hosting service like GitHub
Pages, you may want to name your output as
index.html
.
There are many settings for the slides. For example:
- to support math rendering,
--mathjax
or--katex
can be used; - incremental transitions by using
-i
; - and many more details.
Pandoc also supports quite a lot of
extensions. For example,
the emoji
extension is used in the above example (--from markdown+emoji
).
Settings for reveal.js are passed to Pandoc as
variables, such as
-V center=false
. Besides, you may want to change the
theme.