This is a basic project setup to create beautiful reveal.js presentations with ScalaJS. To use it just clone or fork this repository and simply start to write down your own slide-deck.
- Create a new SBT sub-project for your presentation (see my-talk as an example).
- Write down your slide-deck. For more information take a look at the example and reveal.js.
- Compile your presentations with
sbt "project myTalk" "fastOptJS"
or if it is the final statesbt "project myTalk" "fullOptJS"
. Just make sure you reference the right JS files in the index.html - the root of your presentation.
Best thing is, you can commit your compiled presentation and build a Github page from it. Now you can share knowledge easily.
Take a look at https://pheymann.github.io/scala-reveal-js/my-talk which is build with this repository. It isn't particular beautiful but it works. Just keep in mind that this is plain HTML, JS and CSS in the end and you can do with it what ever your want.
Lately, I have to write a lot of slides for workshops and talks. I started to do that in reveal.js because it gave me a bunch of build-in features and the freedom to customize it as needed. But writing thousands of lines of HTML isn't really fun and adding headers to every slide - which also happen to change from slide to slide - is a real pain.
To overcome this problems, I integrated reveal.js into a small ScalaJS-React project to refactor common task and to somehow get headers into my slides without going insane.