added margin, so that generated pdfs have the correct layout

This commit is contained in:
Stefan Friese 2024-04-18 14:08:06 +00:00
parent 70851726f6
commit 502a8b34b2
2 changed files with 4 additions and 1 deletions

View File

@ -3,3 +3,5 @@
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

View File

@ -237,6 +237,7 @@ Room</a>.</p></li>
// Full list of configuration options available at:
// https://revealjs.com/config/
Reveal.initialize({
margin: 0.2,
// Display controls in the bottom right corner
controls: true,