The slides are created with Reveal.js, and automatically deployed to Omnia Radix on new commits to the main
branch.
The contents of the slides are contained in a set of markdown files in the content
folder. The markdown files are referenced from the index.html
file.
- To host the files, use the "Live Server" plugin to VSCode. (It's included in recommend extensions the workspace)
- Press to "Go Live" icon toolbar bottom right, and the port 5500 is forwarded to your client.
(In order to be able to use the automatic reload up-on changes the 'unsafe-inline' needs to be added to the CSP in index.html
. Remember to remove before before making commits.)
docker build -t pawa-slides .
docker run -d --name pawa-slides -p 8080:8080 pawa-slides
To provide a hash for the .js and .css file provided in the source do:
cat ./content/js/app.js | openssl dgst -sha512 -binary | openssl base64 -A
cat ./content/css/equinor.css | openssl dgst -sha512 -binary | openssl base64 -A
I use https://github.com/astefanutti/decktape to export slides to PDF.
The command looks something like this: decktape -s 1920x1080 http://localhost:5500 ./pdf/slides.pdf