Generate static site with index page from reveal.js slides from multiple directories.
- Multiple slide projects
- Autogenerated index.html with all projects
- Markdown by default
- Dev static server with livereload
- Multiplex works out of box, just run reveal-multi --server in you slides project, open index page and copy two links: master and client.
npm i -g reveal-multi
/my-slides
/docs
/src
reveal-multi.json
/project1
/i
pic.png
index.md
/project2
/some
some-file.png
index.md
For reveal-multi.json syntax see IConfig and default config. Example project root
cd my-slides
reveal-multi
Commit and push generated my-slides/docs to github pages.
or
reveal-multi --server
Open master link for master presentation and client for synced client presentation.
reveal-multi options:
-h, --help This help
-c --create Create generic project in src
-e --examples Run dev server with examples
-s, --server Run dev server
-v, --verbose Verbose output
-i, --in Root directory with projects [default: "src"]
-o, --out Destination directory [default: "docs"]
Ex:
reveal-multi --server --in=./src --out=./docs