From 502a8b34b2abbc20779c4af536b1c9adbc6694ac Mon Sep 17 00:00:00 2001 From: whx Date: Thu, 18 Apr 2024 14:08:06 +0000 Subject: [PATCH] added margin, so that generated pdfs have the correct layout --- introduction-to-sql-injection/build-presentation.sh | 4 +++- introduction-to-sql-injection/presentation.html | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/introduction-to-sql-injection/build-presentation.sh b/introduction-to-sql-injection/build-presentation.sh index afc539d..e0060c8 100755 --- a/introduction-to-sql-injection/build-presentation.sh +++ b/introduction-to-sql-injection/build-presentation.sh @@ -2,4 +2,6 @@ pandoc -s --mathml -i -t revealjs sql_injection.md -V theme=simple -o presentation.html --css=./robot-lung.css -sed -i 's||\n
\n
\n
\n
\n|' presentation.html +sed -i 's||\n
\n
\n
\n
\n|' presentation.html + +sed -i 's/Reveal.initialize({/Reveal.initialize({\n margin: 0.2,/' presentation.html diff --git a/introduction-to-sql-injection/presentation.html b/introduction-to-sql-injection/presentation.html index 5c8526b..fe24a07 100644 --- a/introduction-to-sql-injection/presentation.html +++ b/introduction-to-sql-injection/presentation.html @@ -237,6 +237,7 @@ Room.

// 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,