Remarks:
document.html.slim file from asciidoctor-reveal.js with an updated one, that adds some additional js and css references. This template is located in libs/docinfo-hack.imagesdir = ../resources/imagesgenerated-slides directory, some JavaScript extensions don't work in this case. Therefore it is required to run the presentation from a local webserver.Panton, so be sure to have that installed on your presentation machine.src/main/theme/cc.css as this is automatically embedded into the themes directory.By running the following command, you can generate the presentation:
mvn clean package
In order to start a local web server serving the presentation, execute the following command:
mvn jetty:run-exploded
As soon as that's done, just point your browser to:
http://localhost:8080/
In order to generate a PDF version of the presentation just add ?print-pdf to the url. (Keep in mind, that you have to add it before any #blahblah)
The following link should do the trick:
http://localhost:8080/?print-pdf
As soon as that's loaded, just use the normal print functionality of the browser and print as PDF.
npm install mermaid.cli
This will install mermaid under node_modules/.bin/mmdc.
https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip