2024-04-18 15:56:25 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
2026-10-23 15:53:40 +02:00
|
|
|
# pandoc -s --mathml -i -t revealjs sql_injection.md -V theme=simple -o presentation.html --css=./robot-lung.css
|
|
|
|
|
pandoc -s --mathml -i -t revealjs sql_injection.md -V theme=simple \
|
|
|
|
|
-V revealjs-url=https://unpkg.com/reveal.js@4 \
|
|
|
|
|
-o presentation.html --css=./robot-lung.css
|
2024-04-18 15:56:25 +02:00
|
|
|
|
2024-04-18 16:08:06 +02:00
|
|
|
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
|