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/images.generated-slides directory, some JavaScript extensions don't work in this case. Therefore you need 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
To start a local web server serving the presentation, execute the following command:
mvn jetty:run-war
As soon as that's done, point your browser to:
http://localhost:8080/
Or you can open target/generated-slides/index.html in your browser.
To generate a PDF version of the presentation, 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, use the normal print functionality of the browser and print as PDF.
npm install mermaid.cli
This installs mermaid under node_modules/.bin/mmdc.
https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip