presentations/introduction-to-sql-injection/build-presentation.sh

8 lines
397 B
Bash
Raw Normal View History

2024-04-18 15:56:25 +02:00
#!/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