#!/usr/bin/env bash

pandoc -s --mathml -i -t revealjs sql_injection.md -V theme=simple -o presentation.html --css=./robot-lung.css

sed -i 's|<body>|<body>\n<div class="line top"></div>\n<div class="line bottom"></div>\n<div class="line left"></div>\n<div class="line right"></div>\n|' presentation.html

sed -i 's/Reveal.initialize({/Reveal.initialize({\n       margin: 0.2,/' presentation.html
