aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2021-03-07 22:32:54 +0100
committerstuebinm2021-03-07 22:32:54 +0100
commit09eeb58abb279e1049493460a7a99124aa4d9a78 (patch)
tree25750565c447763762b26ebe9b85f609f7482a26
parentd8925def7fa6a359e11e612527d12a0280f44d84 (diff)
add example pdftoppm command to the cover
-rw-r--r--picarones-elm/src/Cover.elm8
1 files changed, 5 insertions, 3 deletions
diff --git a/picarones-elm/src/Cover.elm b/picarones-elm/src/Cover.elm
index 5c92e73..5c9d040 100644
--- a/picarones-elm/src/Cover.elm
+++ b/picarones-elm/src/Cover.elm
@@ -65,7 +65,9 @@ mkRemark prefix = let example = case prefix of
"" -> "https://yourdomain.tld/path-to-slides/01.png"
_ -> prefix ++ "01.png"
in div [class "remark"] [
- text ("""Your slides should be available at the above uri, postfixed with a
- double-digit number and a .png extension, e.g. """ ++ example ++
- " should contain an image.")
+ p [] [text ("""Your slides should be available at the above uri, postfixed with a
+ double-digit number and a .png extension, e.g. """ ++ example ++
+ " should contain an image.")]
+ , p [] [text "You can convert a pdf to images like this:"]
+ , pre [] [text "pdftoppm -png slides.pdf -scale-to-y 1080 -scale-to-x -1 slide"]
]