Skip to content

Build reveal.js presentations in Scala

License

Notifications You must be signed in to change notification settings

pheymann/scala-reveal-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScalaJS + reveal.js = ❤

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.

How to use it

  1. Create a new SBT sub-project for your presentation (see my-talk as an example).
  2. Write down your slide-deck. For more information take a look at the example and reveal.js.
  3. Compile your presentations with sbt "project myTalk" "fastOptJS" or if it is the final state sbt "project myTalk" "fullOptJS". Just make sure you reference the right JS files in the index.html - the root of your presentation.

Make it available to anybody

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.

Why?

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.

Releases

No releases published

Packages

No packages published

Languages