Fucking simple presentations.
- You want to write your slides in Markdown, because like plain text, Markdown is classy, portable, and patriotic as fuck
- You don't want to mess around with Keynote, Powerpoint, Prezi or Reveal.js like a peasant
- Write slides in Markdown files.
- Put the slides in a directory and name them like this to indicate presentation order:
1-getting_started.md
2-practical.md
3-exploratory.md
4-big_projects.md
5-class.md
6-value_object.md
7-object.md
8-immutability.md
9-pattern_matching.md- Use the
.jarto start the presentation server:
$ java -DslidesPath=$PATH_TO_SLIDES \
-DpresentationName=$TITLE_OF_PRESENTATION \
-jar $PATH_TO_JAR- Give the people what they want:
$ open http://localhost:9000- If you haven't built the
.jar, build it like this:
$ git clone $THE_REPO
$ cd empress
$ sbt assemblyThe .jar file will be in target/scala-2.12
- If you don't have a JRE, I feel sorry for you.
Another option, if you have GraalVM, is you can build a native image. Do this:
native-image -H:+ReportUnsupportedElementsAtRuntime \
-jar target/scala-2.12/empress-assembly-0.2.0.jar
Then:
./empress-assembly-0.2.0 /Users/xcxk066/code/testdeck "a great talk"