diff options
| -rw-r--r-- | .gitignore | 6 | ||||
| -rw-r--r-- | LaTeX.php | 61 | ||||
| -rw-r--r-- | README | 15 | ||||
| -rw-r--r-- | download.php | 493 | ||||
| -rw-r--r-- | gpl2.php | 61 | ||||
| -rw-r--r-- | img/90sMakeUpCommercial.webp | bin | 0 -> 2900 bytes | |||
| -rw-r--r-- | img/chicagoOlives.webp | bin | 0 -> 2504 bytes | |||
| -rw-r--r-- | img/cleanMetropolis.webp | bin | 0 -> 1958 bytes | |||
| -rw-r--r-- | img/earlyCupertino.webp | bin | 0 -> 1894 bytes | |||
| -rw-r--r-- | img/ohioCustard.webp | bin | 0 -> 2160 bytes | |||
| -rw-r--r-- | img/raleighAroundMe.webp | bin | 0 -> 2416 bytes | |||
| -rw-r--r-- | index.php | 274 | ||||
| -rw-r--r-- | info.php | 138 | ||||
| -rw-r--r-- | isc.php | 61 | ||||
| -rw-r--r-- | licenses.php | 92 | ||||
| -rw-r--r-- | mit.php | 61 | ||||
| -rw-r--r-- | output/90sMakeUpCommercial.md | 7 | ||||
| -rw-r--r-- | output/chicagoOlives.md | 7 | ||||
| -rw-r--r-- | output/cleanMetropolis.md | 7 | ||||
| -rw-r--r-- | output/earlyCupertino.md | 7 | ||||
| -rw-r--r-- | output/ohioCustard.md | 7 | ||||
| -rw-r--r-- | output/raleighAroundMe.md | 7 |
22 files changed, 793 insertions, 511 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9bd4030 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# Ignore files starting with "procrastiSlides" +procrastiSlides*.pdf + +# Ignore the conversion files +push*.md +convert*.md @@ -1,32 +1,34 @@ <!DOCTYPE html> <html lang=en> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> - <link rel="stylesheet" href="../css/style.css"> - <link rel = "icon" href = "../img/site-icon.webp" type = "image/x-icon"> - <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css + +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> + <link rel="stylesheet" href="../css/style.css"> + <link rel="icon" href="../img/site-icon.webp" type="image/x-icon"> + <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css "> - <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> - <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> - <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. + <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> + <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> + <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. ๐ซ try copy and pasting your school notes! that might even work ๐"> - </head> - <body> - <div class=banner> - <h1>๐ licenses ๐งโโ๏ธ</h1> - <hr/> - </div> - <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) +</head> + +<body> + <div class=banner> + <h1>๐ licenses ๐งโโ๏ธ</h1> + <hr /> + </div> + <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) and Luke Smith's <a target="_blank" href="https://youtu.be/dum7q6UXiCE">video</a> on creating presentations using markdown and LaTeX beamer. - We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open - souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> - <hr> + We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open + souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> + <hr> - <?php include "includes/nav-header.php" ?> -<div class="centered"> - <pre> + <?php include "includes/nav-header.php"; ?> + <div class="centered"> + <pre> The LaTeX Project Public License =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- @@ -446,14 +448,15 @@ Important Recommendations </pre> - </div> + </div> + + <br> + <footer> - <br> - <footer> + <?php include "includes/nav-footer.php"; ?> - <?php include "includes/nav-footer.php" ?> + </footer> +</body> - </footer> - </body> </html> @@ -1 +1,14 @@ -Quick Presentations from Markdown using Pandoc and LaTeX beamer. Main instance found on: https://procrastislides.com/ +๐ธ๐๐๐๐ ๐ท๐๐๐๐๐๐๐๐๐๐๐๐ ๐๐๐๐ ๐ด๐๐๐๐
๐๐๐ ๐๐๐๐๐ ๐ท๐๐๐
๐๐ ๐๐๐
๐ณ๐๐ป๐๐ฟ ๐๐๐๐๐๐. + +Main instance is found on: https://procrastislides.com/ + +๐๐ฎ๐ง๐ฒ๐ซ ๐ฃ๐ฎ๐ฐ๐ธ๐ฎ๐ด๐ฒ ๐๐ฒ๐ฝ๐ฒ๐ป๐ฑ๐ฒ๐ป๐ฐ๐ถ๐ฒ๐ ๐ณ๐ผ๐ฟ ๐๐ฎ๐๐ถ๐ฐ ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป๐ฎ๐น๐ถ๐๐: +- texlive-bin +- texlive-core +- texlive-fontsextra +- texlive-formatsextra +- texlive-langchinese +- texlive-langextra +- texlive-langjapanese +- texlive-latexextra +- texlive-pictures diff --git a/download.php b/download.php index b6aa4cb..af207d5 100644 --- a/download.php +++ b/download.php @@ -1,217 +1,406 @@ <?php session_start(); ?> <!DOCTYPE html> <html lang=en> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> - <link rel="stylesheet" href="css/style.css"> - <link rel = "icon" href = "img/site-icon.webp" type = "image/x-icon"> - <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css + +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> + <link rel="stylesheet" href="css/style.css"> + <link rel="icon" href="img/site-icon.webp" type="image/x-icon"> + <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css "> - <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> - <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> - <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. + <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> + <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> + <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. ๐ซ try copy and pasting your school notes! that might even work ๐"> - </head> - <body> - <div class=banner> - <h1>๐ procrastiSlides v0.01 ๐ฌ</h1> - <hr/> - </div> - <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) - and Luke Smith's <a target="_blank" href="https://youtu.be/dum7q6UXiCE">video</a> on creating presentations using markdown and LaTeX beamer. - We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open - souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> - <hr> - - <?php include "includes/nav-header.php" ?> - <br> - - <h3 class="centered">๐ your procrastiSlides .pdf presentation has been generated successfully!!! ๐พ - </h3> - - <h3 class="centered">๐ your download link is below: ๐ - </h3> - <div class="centered"> +</head> + +<body> + <div class=banner> + <h1>๐ procrastiSlides v0.02 ๐ฌ</h1> + <hr /> + </div> + <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>). it uses pandoc and LaTeX beamer for the backend. <br><br><b>latest feature update:</b> addition of 16:9 themes</p> + <hr> + + <?php include "includes/nav-header.php"; ?> + <br> + + <h3 class="centered">๐ your procrastiSlides .pdf presentation has been generated successfully!!! ๐พ + </h3> + + <h3 class="centered">๐ your download link is below: ๐ + </h3> + <div class="centered"> + <?php if (isset($_POST["90sMakeUpCommercial"])) { + + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = uniqid("procrastiSlides_", true) . ".pdf"; + + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name + + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/90sMakeUpCommercial.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + + // sleep(1); + ?> + + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> + + <?php + } ?> + + <?php if (isset($_POST["chicagoOlives"])) { + + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = uniqid("procrastiSlides_", true) . ".pdf"; + + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name + + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/chicagoOlives.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + + // sleep(1); + ?> + + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> + + <?php + } ?> + + <?php if (isset($_POST["cleanMetropolis"])) { + + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = uniqid("procrastiSlides_", true) . ".pdf"; + + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name + + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/cleanMetropolis.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + + // sleep(1); + ?> + + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> + + <?php + } ?> + + <?php if (isset($_POST["ohioCustard"])) { + + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = uniqid("procrastiSlides_", true) . ".pdf"; + + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name + + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/ohioCustard.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + + // sleep(1); + ?> + + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> + <?php + } ?> - if(isset($_POST['defaultIsKing'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + <?php if (isset($_POST["raleighAroundMe"])) { - $pres = $_SESSION['pres']; // filename of the template file with metadata - $push = $_SESSION['push']; // filename of where the user data is stored - $convert = $_SESSION['convert']; // concatanated file to be converted to .pdf - $filename = $_SESSION['filename']; // output file name + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = uniqid("procrastiSlides_", true) . ".pdf"; + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name - $userMarkdown = $_SESSION['user-input']; // this used to be _POST['user-input'] - // $_SESSION['user-input'] = $_POST['user-input']; - $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/raleighAroundMe.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + + // sleep(1); + ?> + + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> + + <?php + } ?> + + <?php if (isset($_POST["earlyCupertino"])) { + + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = uniqid("procrastiSlides_", true) . ".pdf"; + + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name - shell_exec("echo '$userMarkdown' > output/'$push'"); - shell_exec("cat output/defaultIsKing.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/earlyCupertino.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + + // sleep(1); + ?> - <h2><a href="output/<?php echo $_SESSION['filename']; ?>">download presentation</a></h2> + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> - <?php } ?> + <?php + } ?> - <?php - if(isset($_POST['strengthInNumbers'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + <?php if (isset($_POST["defaultIsKing"])) { - $pres = $_SESSION['pres']; // filename of the template file with metadata - $push = $_SESSION['push']; // filename of where the user data is stored - $convert = $_SESSION['convert']; // concatanated file to be converted to .pdf - $filename = $_SESSION['filename']; // output file name + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = uniqid("procrastiSlides_", true) . ".pdf"; + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name - $userMarkdown = $_SESSION['user-input']; // this used to be _POST['user-input'] - // $_SESSION['user-input'] = $_POST['user-input']; - $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; - shell_exec("echo '$userMarkdown' > output/'$push'"); - shell_exec("cat output/strengthInNumbers.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/defaultIsKing.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); - <h2><a href="output/<?php echo $_SESSION['filename']; ?>">download presentation</a></h2> + // sleep(1); + ?> - <?php } ?> + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> - <?php + <?php + } ?> - if(isset($_POST['thatMagazine'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + <?php if (isset($_POST["strengthInNumbers"])) { - $pres = $_SESSION['pres']; // filename of the template file with metadata - $push = $_SESSION['push']; // filename of where the user data is stored - $convert = $_SESSION['convert']; // concatanated file to be converted to .pdf - $filename = $_SESSION['filename']; // output file name + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = uniqid("procrastiSlides_", true) . ".pdf"; + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name - $userMarkdown = $_SESSION['user-input']; // this used to be _POST['user-input'] + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] // $_SESSION['user-input'] = $_POST['user-input']; $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; shell_exec("echo '$userMarkdown' > output/'$push'"); - shell_exec("cat output/thatMagazine.md output/'$push' > output/'$convert'"); + shell_exec( + "cat output/strengthInNumbers.md output/'$push' > output/'$convert'" + ); shell_exec($conversion); - // sleep(1); ?> - <h2><a href="output/<?php echo $_SESSION['filename']; ?>">download presentation</a></h2> + // sleep(1); + ?> - <?php } ?> + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> - <?php + <?php + } ?> + + <?php if (isset($_POST["thatMagazine"])) { + + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = uniqid("procrastiSlides_", true) . ".pdf"; - if(isset($_POST['cuppertinoIsh'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name + + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; - $pres = $_SESSION['pres']; // filename of the template file with metadata - $push = $_SESSION['push']; // filename of where the user data is stored - $convert = $_SESSION['convert']; // concatanated file to be converted to .pdf - $filename = $_SESSION['filename']; // output file name + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/thatMagazine.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + // sleep(1); + ?> - $userMarkdown = $_SESSION['user-input']; // this used to be _POST['user-input'] - // $_SESSION['user-input'] = $_POST['user-input']; - $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> - shell_exec("echo '$userMarkdown' > output/'$push'"); - shell_exec("cat output/cuppertinoIsh.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + <?php + } ?> - <h2><a href="output/<?php echo $_SESSION['filename']; ?>">download presentation</a></h2> + <?php if (isset($_POST["cuppertinoIsh"])) { - <?php } ?> + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = + uniqid("procrastiSlides_", true) . ".pdf"; - <?php + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name - if(isset($_POST['lazyProfessor'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; - $pres = $_SESSION['pres']; // filename of the template file with metadata - $push = $_SESSION['push']; // filename of where the user data is stored - $convert = $_SESSION['convert']; // concatanated file to be converted to .pdf - $filename = $_SESSION['filename']; // output file name + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/cuppertinoIsh.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + // sleep(1); + ?> - $userMarkdown = $_SESSION['user-input']; // this used to be _POST['user-input'] - // $_SESSION['user-input'] = $_POST['user-input']; - $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> - shell_exec("echo '$userMarkdown' > output/'$push'"); - shell_exec("cat output/lazyProfessor.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + <?php + } ?> - <h2><a href="output/<?php echo $_SESSION['filename']; ?>">download presentation</a></h2> + <?php if (isset($_POST["lazyProfessor"])) { - <?php } ?> + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = + uniqid("procrastiSlides_", true) . ".pdf"; - <?php + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name - if(isset($_POST['redmond2003'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; - $pres = $_SESSION['pres']; // filename of the template file with metadata - $push = $_SESSION['push']; // filename of where the user data is stored - $convert = $_SESSION['convert']; // concatanated file to be converted to .pdf - $filename = $_SESSION['filename']; // output file name + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/lazyProfessor.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + // sleep(1); + ?> - $userMarkdown = $_SESSION['user-input']; // this used to be _POST['user-input'] - // $_SESSION['user-input'] = $_POST['user-input']; - $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> - shell_exec("echo '$userMarkdown' > output/'$push'"); - shell_exec("cat output/redmond2003.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + <?php + } ?> - <h2><a href="output/<?php echo $_SESSION['filename']; ?>">download presentation</a></h2> + <?php if (isset($_POST["redmond2003"])) { - <?php } ?> + $_SESSION["pres"] = uniqid("pres", true) . ".md"; + $_SESSION["push"] = uniqid("push", true) . ".md"; + $_SESSION["convert"] = uniqid("convert", true) . ".md"; + $_SESSION["filename"] = + uniqid("procrastiSlides_", true) . ".pdf"; + $pres = $_SESSION["pres"]; // filename of the template file with metadata + $push = $_SESSION["push"]; // filename of where the user data is stored + $convert = $_SESSION["convert"]; // concatanated file to be converted to .pdf + $filename = $_SESSION["filename"]; // output file name + $userMarkdown = $_SESSION["user-input"]; // this used to be _POST['user-input'] + // $_SESSION['user-input'] = $_POST['user-input']; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex"; - </div> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/redmond2003.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + // sleep(1); + ?> - <br><br> - <footer> + <h2><a href="output/<?php echo $_SESSION["filename"]; ?>">download presentation</a></h2> - <?php include "includes/nav-footer.php" ?> + <?php + } ?> + </div> + <br><br> + <footer> + <?php include "includes/nav-footer.php"; ?> + </footer> +</body> - </footer> - </body> </html> @@ -1,32 +1,34 @@ <!DOCTYPE html> <html lang=en> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> - <link rel="stylesheet" href="../css/style.css"> - <link rel = "icon" href = "../img/site-icon.webp" type = "image/x-icon"> - <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css + +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> + <link rel="stylesheet" href="../css/style.css"> + <link rel="icon" href="../img/site-icon.webp" type="image/x-icon"> + <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css "> - <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> - <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> - <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. + <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> + <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> + <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. ๐ซ try copy and pasting your school notes! that might even work ๐"> - </head> - <body> - <div class=banner> - <h1>๐ licenses ๐งโโ๏ธ</h1> - <hr/> - </div> - <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) +</head> + +<body> + <div class=banner> + <h1>๐ licenses ๐งโโ๏ธ</h1> + <hr /> + </div> + <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) and Luke Smith's <a target="_blank" href="https://youtu.be/dum7q6UXiCE">video</a> on creating presentations using markdown and LaTeX beamer. - We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open - souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> - <hr> + We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open + souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> + <hr> - <?php include "includes/nav-header.php" ?> -<div class="centered"> - <pre> + <?php include "includes/nav-header.php"; ?> + <div class="centered"> + <pre> GNU GENERAL PUBLIC LICENSE Version 2, June 1991 @@ -160,13 +162,14 @@ This General Public License does not permit incorporating your program into prop </pre> - </div> + </div> + + <br> + <footer> - <br> - <footer> + <?php include "includes/nav-footer.php"; ?> - <?php include "includes/nav-footer.php" ?> + </footer> +</body> - </footer> - </body> </html> diff --git a/img/90sMakeUpCommercial.webp b/img/90sMakeUpCommercial.webp Binary files differnew file mode 100644 index 0000000..18f2924 --- /dev/null +++ b/img/90sMakeUpCommercial.webp diff --git a/img/chicagoOlives.webp b/img/chicagoOlives.webp Binary files differnew file mode 100644 index 0000000..cce6539 --- /dev/null +++ b/img/chicagoOlives.webp diff --git a/img/cleanMetropolis.webp b/img/cleanMetropolis.webp Binary files differnew file mode 100644 index 0000000..1fc6e6c --- /dev/null +++ b/img/cleanMetropolis.webp diff --git a/img/earlyCupertino.webp b/img/earlyCupertino.webp Binary files differnew file mode 100644 index 0000000..26644e5 --- /dev/null +++ b/img/earlyCupertino.webp diff --git a/img/ohioCustard.webp b/img/ohioCustard.webp Binary files differnew file mode 100644 index 0000000..623b83c --- /dev/null +++ b/img/ohioCustard.webp diff --git a/img/raleighAroundMe.webp b/img/raleighAroundMe.webp Binary files differnew file mode 100644 index 0000000..f4d4c20 --- /dev/null +++ b/img/raleighAroundMe.webp @@ -1,135 +1,155 @@ <?php - session_start(); - - ?> +session_start(); ?> <!DOCTYPE html> <html lang=en> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> - <link rel="stylesheet" href="css/style.css?v=<?=time();?>"> - <link rel = "icon" href = "img/site-icon.webp" type = "image/x-icon"> - <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> - <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> - <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. - non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. ๐ซ try copy and pasting your school notes! that might even work ๐"> - </head> - <body> - <div class=banner> - <h1>๐ procrastiSlides v0.01 ๐ฌ</h1> - <hr/> - </div> - <p class="centered">only a simple presentation(s) site that respects your dark mode setting and has responsive web design. <br> - non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. <br> - </p> - <h3 class="centered">๐ great for procratinators who need to get a presentation out, quick! ๐</h3> - <h3 class="centered">๐ซ try copy and pasting your school notes! that might even work ๐</h3> - <hr> - <?php - include "includes/nav-header.php"; - $_SESSION['user-input'] = null; - ?> - <?php if(isset($_POST['compile'])) - { - $_SESSION['user-input'] = $_POST['user-input']; - - ?> - <div class="centered"> - <h3>๐จ please select your presentation theme ๐ญ</h3> - <form class="" action="download.php" method="post"> - <table class="centered"> - <th> - <h2>preview</h2> - </th> - <th> - <h2>select</h2> - </th> - <tr> - <td><img class=theme-select src="img/defaultIsKing.webp" alt="defaultIsKing"><br></td> - <td><button type="submit" name="defaultIsKing">defaultIsKing</button></td> - </tr> - <tr> - <td><img class=theme-select src="img/cuppertinoIsh.webp" alt="Cuppertino-Ish"><br></td> - <td><button type="submit" name="cuppertinoIsh">cuppertinoIsh</button></td> - </tr> - <tr> - <td><img class=theme-select src="img/lazyProfessor.webp" alt="lazyProfessor"><br></td> - <td><button type="submit" name="lazyProfessor">lazyProfessor</button></td> - </tr> - <tr> - <td><img class=theme-select src="img/redmond2003.webp" alt="redmond2003"><br></td> - <td><button type="submit" name="redmond2003">redmond2003</button></td> - </tr> - <tr> - <td><img class=theme-select src="img/strengthInNumbers.webp" alt="strengthInNumbers"><br></td> - <td><button type="submit" name="strengthInNumbers">strengthInNumbers</button></td> - </tr> - <tr> - <td><img class=theme-select src="img/thatMagazine.webp" alt="thatMagazine"><br></td> - <td><button type="submit" name="thatMagazine">thatMagazine</button></td> - </tr> - </table> - </form> - </div> - <br> - <?php } ?> - <?php if(!isset($_POST['compile'])) - { ?> - <div> - <h2 class="centered">plain text or markdown goes here:</h2> - <form class="" action="index.php" method="post"> - <textarea id="user-input" name="user-input" rows="8" cols="80"><?php echo $_SESSION['user-input']; ?></textarea> - <div class="centered"> - <button type="submit" name="compile">create presentation</button> - </div> - </form> - <script type="text/javascript"> - var simplemde = new SimpleMDE({ element: document.getElementById("user-input") }); +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> + <link rel="stylesheet" href="css/style.css?v=<?= time() ?>"> + <link rel="icon" href="img/site-icon.webp" type="image/x-icon"> + <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> + <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> + <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. + non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. ๐ซ try copy and pasting your school notes! that might even work ๐"> +</head> - </script> - <br> - <a name="how-to"> - <h2 class="centered">quick read how-to:</h2> - </a> - <ul> - <li>type '#' to indicate that you are starting a new slide and then press โต (enter/return) twice.</li> - <li>you can add a "slide title" after each '#' to name that portion of your presentation.</li> - <ul> - <li>a space between "#" and your slide title is required: <br><br> </li> - <ul class="no-bullets"> - <li># [YOUR TITLE GOES HERE]</li> - </ul> - <br> - </ul> - <li>type/format text underneath the '#' for the slide contents.</li> +<body> + <div class=banner> + <h1>๐ procrastiSlides v0.02 ๐ฌ</h1> + <hr /> + </div> + <p class="centered">simple presentation(s) site for quick slides from plain text / markdown <br> + (powered by LaTeX beamer, pandoc, and the rust uutils)</p> + <p class="centered"><b>โจ latest feature update:</b> addition of 16:9 themes ๐</p> + <h3 class="centered">๐ great for procratinators who need to get a presentation out, quick! ๐</h3> + <hr> + <?php + include "includes/nav-header.php"; + ?> + <?php if (isset($_POST["compile"])) { + $_SESSION["user-input"] = $_POST["user-input"]; ?> + <div class="centered"> + <h3>๐จ please select your presentation theme ๐ญ</h3> + <form class="" action="download.php" method="post"> + <table class="centered"> + <th> + <h2>preview</h2> + </th> + <th> + <h2>select</h2> + </th> + <tr> + <td><img class=theme-select src="img/90sMakeUpCommercial.webp" alt="90sMakeUpCommercial"><br></td> + <td><button type="submit" name="90sMakeUpCommercial">90sMakeUpCommercial</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/chicagoOlives.webp" alt="chicagoOlives"><br></td> + <td><button type="submit" name="chicagoOlives">chicagoOlives</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/cleanMetropolis.webp" alt="cleanMetropolis"><br></td> + <td><button type="submit" name="cleanMetropolis">cleanMetropolis</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/earlyCupertino.webp" alt="earlyCupertino"><br></td> + <td><button type="submit" name="earlyCupertino">earlyCupertino</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/ohioCustard.webp" alt="ohioCustard"><br></td> + <td><button type="submit" name="ohioCustard">ohioCustard</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/raleighAroundMe.webp" alt="raleighAroundMe"><br></td> + <td><button type="submit" name="raleighAroundMe">raleighAroundMe</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/defaultIsKing.webp" alt="defaultIsKing"><br></td> + <td><button type="submit" name="defaultIsKing">defaultIsKing</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/cuppertinoIsh.webp" alt="Cuppertino-Ish"><br></td> + <td><button type="submit" name="cuppertinoIsh">cuppertinoIsh</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/lazyProfessor.webp" alt="lazyProfessor"><br></td> + <td><button type="submit" name="lazyProfessor">lazyProfessor</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/redmond2003.webp" alt="redmond2003"><br></td> + <td><button type="submit" name="redmond2003">redmond2003</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/strengthInNumbers.webp" alt="strengthInNumbers"><br></td> + <td><button type="submit" name="strengthInNumbers">strengthInNumbers</button></td> + </tr> + <tr> + <td><img class=theme-select src="img/thatMagazine.webp" alt="thatMagazine"><br></td> + <td><button type="submit" name="thatMagazine">thatMagazine</button></td> + </tr> + </table> + </form> + </div> + <br> + <?php + } ?> + <?php if (!isset($_POST["compile"])) { ?> + <div> + <h2 class="centered">plain text or markdown goes here:</h2> + <form class="" action="index.php" method="post"> + <textarea id="user-input" name="user-input" rows="8" cols="80"><?php echo $_SESSION["user-input"]; ?></textarea> + <div class="centered"> + <button type="submit" name="compile">create presentation</button> + </div> + </form> + <script type="text/javascript"> + var simplemde = new SimpleMDE({ + element: document.getElementById("user-input") + }); + </script> + <br> + <a name="how-to"> + <h2 class="centered">quick read how-to:</h2> + </a> <ul> - <li>make sure to start typing your slide content two โต's ("enter key presses") away from the "#".</li> - <li>lists require to be formatted in this manner as well: <br><br> </li> - <ul class="no-bullets"> - <li># slide title <br><br> - This is a list <br><br> - * item 1 <br> - * item 2 <br> - * item 3 <br> - </li> - </ul> + <li>type '#' to indicate that you are starting a new slide and then press โต (enter/return) twice.</li> + <li>you can add a "slide title" after each '#' to name that portion of your presentation.</li> + <ul> + <li>a space between "#" and your slide title is required: <br><br> </li> + <ul class="no-bullets"> + <li># [YOUR TITLE GOES HERE]</li> + </ul> + <br> + </ul> + <li>type/format text underneath the '#' for the slide contents.</li> + <ul> + <li>make sure to start typing your slide content two โต's ("enter key presses") away from the "#".</li> + <li>lists require to be formatted in this manner as well: <br><br> </li> + <ul class="no-bullets"> + <li># slide title <br><br> + This is a list <br><br> + * item 1 <br> + * item 2 <br> + * item 3 <br> + </li> + </ul> + </ul> </ul> - </ul> - <br> - <p class="centered"> <i>It's highly recommended that you use markdown lists rather than plain text lists</i> </p><br> - <h2 class="centered">short video how-to:</h2> - </a><br> - <div class="responsive-video"> - <iframe class="video" height="854px" width="480px" src="https://www.youtube.com/embed/Cj-NkNKFnN8" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> - </div> - <br> - </div> - <?php } ?> - <br> - <footer> - <?php include "includes/nav-footer.php" ?> - </footer> - </body> + <br> + <p class="centered"> <i>It's highly recommended that you use markdown lists rather than plain text lists</i> </p><br> + <h2 class="centered">short video how-to:</h2> + </a><br> + <div class="responsive-video"> + <iframe class="video" height="854px" width="480px" src="https://www.youtube.com/embed/Cj-NkNKFnN8" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> + </div> + <br> + </div> + <?php } ?> + <br> + <footer> + <?php include "includes/nav-footer.php"; ?> + </footer> +</body> + </html> @@ -1,85 +1,85 @@ <!DOCTYPE html> <html lang=en> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> - <link rel="stylesheet" href="css/style.css"> - <link rel = "icon" href = "img/site-icon.webp" type = "image/x-icon"> - <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css + +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> + <link rel="stylesheet" href="css/style.css"> + <link rel="icon" href="img/site-icon.webp" type="image/x-icon"> + <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css "> - <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> - <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> - <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. + <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> + <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> + <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. ๐ซ try copy and pasting your school notes! that might even work ๐"> - </head> - <body> - <div class=banner> - <h1>๐ info ๐ฌ</h1> - <hr/> - </div> - <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) - and Luke Smith's <a target="_blank" href="https://youtu.be/dum7q6UXiCE">video</a> on creating presentations using markdown and LaTeX beamer. - We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open - souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> - <hr> +</head> + +<body> + <div class=banner> + <h1>๐ info ๐ฌ</h1> + <hr /> + </div> + <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>). it uses pandoc and LaTeX beamer for the backend. <br><br><b>latest feature update:</b> addition of 16:9 themes</p> + <hr> - <?php include "includes/nav-header.php" ?> + <?php include "includes/nav-header.php"; ?> - <h3 class="centered">๐ procrastiSlides aims to provide a quick way for users to create elegant slideshow presentations using + <h3 class="centered">๐ procrastiSlides aims to provide a quick way for users to create elegant slideshow presentations using open source technologies ๐ - </h3> + </h3> + + <h3>(non-)features</h3> + <ul> + <li>exports only to .pdf</li> + <li>a presentation from just a simple text file or markdown</li> + <li>images can be displayed (no text on the same slide)</li> + <li>no animations</li> + <li>slides with exuberant amount of lines or characters produce rendering glitches intentionally to prevent you from holding bad presentations</li> + </ul> - <h3>(non-)features</h3> - <ul> - <li>exports only to .pdf</li> - <li>a presentation from just a simple text file or markdown</li> - <li>images can be displayed (no text on the same slide)</li> - <li>no animations</li> - <li>slides with exuberant amount of lines or characters produce rendering glitches intentionally to prevent you from holding bad presentations</li> - </ul> + <h3>planned features</h3> + <ul> + <li>unicode color emoji support (via <a target="_blank" href="https://fonts.google.com/noto/specimen/Noto+Sans">noto sans</a> )</li> + <li><s>different font options </s> decided that fonts will be a non-option and just have them embedded in final .pdf</li> + <li><s>more presentation style templates</s> new 16:9 themes have been added</li> + </ul> - <h3>planned features</h3> - <ul> - <li>unicode color emoji support (via <a target="_blank" href="https://fonts.google.com/noto/specimen/Noto+Sans">noto sans</a> )</li> - <li>different font options</li> - <li>more presentation style templates</li> - </ul> + <h3>technologies utilized</h3> + <ul> + <li>gnu/linux and its coreutils</li> + <li>pandoc</li> + <li>LaTeX</li> + <li>SimpleMDE</li> + <li>build of suckless sent with pdf export by <a target="_blank" href="https://github.com/BigHeadGeorge/sent-pdf">BigHeadGeorge</a> </li> + </ul> - <h3>technologies utilized</h3> - <ul> - <li>gnu/linux and its coreutils</li> - <li>pandoc</li> - <li>LaTeX</li> - <li>SimpleMDE</li> - <li>build of suckless sent with pdf export by <a target="_blank" href="https://github.com/BigHeadGeorge/sent-pdf">BigHeadGeorge</a> </li> - </ul> + <h3>active developers</h3> + <ul> + <li>blistakanjo604 (<a href="https://github.com/blistakanjo604">github</a>) </li> + </ul> - <h3>active developers</h3> - <ul> - <li>blistakanjo604 (<a href="https://github.com/blistakanjo604">github</a>) </li> - </ul> + <h3>related links</h3> + <ul> + <li> <a target="_blank" href="https://pandoc.org/">pandoc.org</a> </li> + <li>SimpleMDE's <a target="_blank" href="https://github.com/sparksuite/simplemde-markdown-editor">github</a> </li> + <li> <a target="_blank" href="https://www.latex-project.org/">LaTex-project.org</a> </li> + <li>build of suckless sent with pdf export by <a target="_blank" href="https://github.com/BigHeadGeorge/sent-pdf">BigHeadGeorge</a> </li> + </ul><br> + <h2 class="centered">backstory and demo:</h2> + </a><br> + <div class="responsive-video"> + <iframe class="video" width="854" height="480" src="https://www.youtube.com/embed/X-42ZqaiStw" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> + </div> + <br> + </div> - <h3>related links</h3> - <ul> - <li> <a target="_blank" href="https://pandoc.org/">pandoc.org</a> </li> - <li>SimpleMDE's <a target="_blank" href="https://github.com/sparksuite/simplemde-markdown-editor">github</a> </li> - <li> <a target="_blank" href="https://www.latex-project.org/">LaTex-project.org</a> </li> - <li>build of suckless sent with pdf export by <a target="_blank" href="https://github.com/BigHeadGeorge/sent-pdf">BigHeadGeorge</a> </li> - </ul><br> - <h2 class="centered">backstory and demo:</h2> - </a><br> - <div class="responsive-video"> - <iframe class="video" width="854" height="480" src="https://www.youtube.com/embed/X-42ZqaiStw" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> - </div> - <br> - </div> + <br><br><br> + <footer> - <br><br><br> - <footer> + <?php include "includes/nav-footer.php"; ?> - <?php include "includes/nav-footer.php" ?> + </footer> +</body> - </footer> - </body> </html> @@ -1,32 +1,34 @@ <!DOCTYPE html> <html lang=en> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> - <link rel="stylesheet" href="../css/style.css"> - <link rel = "icon" href = "../img/site-icon.webp" type = "image/x-icon"> - <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css + +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> + <link rel="stylesheet" href="../css/style.css"> + <link rel="icon" href="../img/site-icon.webp" type="image/x-icon"> + <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css "> - <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> - <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> - <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. + <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> + <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> + <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. ๐ซ try copy and pasting your school notes! that might even work ๐"> - </head> - <body> - <div class=banner> - <h1>๐ licenses ๐งโโ๏ธ</h1> - <hr/> - </div> - <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) +</head> + +<body> + <div class=banner> + <h1>๐ licenses ๐งโโ๏ธ</h1> + <hr /> + </div> + <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) and Luke Smith's <a target="_blank" href="https://youtu.be/dum7q6UXiCE">video</a> on creating presentations using markdown and LaTeX beamer. - We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open - souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> - <hr> + We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open + souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> + <hr> - <?php include "includes/nav-header.php" ?> -<div class="centered"> - <pre> + <?php include "includes/nav-header.php"; ?> + <div class="centered"> + <pre> ISC-License @@ -60,12 +62,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. </pre> - </div> -<br> - <footer> + </div> + <br> + <footer> + + <?php include "includes/nav-footer.php"; ?> - <?php include "includes/nav-footer.php" ?> + </footer> +</body> - </footer> - </body> </html> diff --git a/licenses.php b/licenses.php index 87b8d17..ea185aa 100644 --- a/licenses.php +++ b/licenses.php @@ -1,58 +1,58 @@ <!DOCTYPE html> <html lang=en> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> - <link rel="stylesheet" href="css/style.css"> - <link rel = "icon" href = "img/site-icon.webp" type = "image/x-icon"> - <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css + +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> + <link rel="stylesheet" href="css/style.css"> + <link rel="icon" href="img/site-icon.webp" type="image/x-icon"> + <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css "> - <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> - <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> - <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. + <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> + <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> + <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. ๐ซ try copy and pasting your school notes! that might even work ๐"> - </head> - <body> - <div class=banner> - <h1>๐ licenses ๐งโโ๏ธ</h1> - <hr/> - </div> - <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) - and Luke Smith's <a target="_blank" href="https://youtu.be/dum7q6UXiCE">video</a> on creating presentations using markdown and LaTeX beamer. - We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open - souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> - <hr> - - <?php include "includes/nav-header.php" ?> - - <h3 class="centered">๐ procrastiSlides aims to provide a way for users to create quick and elegant slideshows using +</head> + +<body> + <div class=banner> + <h1>๐ licenses ๐งโโ๏ธ</h1> + <hr /> + </div> + <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>). it uses pandoc and LaTeX beamer for the backend. <br><br><b>latest feature update:</b> addition of 16:9 themes</p> + <hr> + + <?php include "includes/nav-header.php"; ?> + + <h3 class="centered">๐ procrastiSlides aims to provide a way for users to create quick and elegant slideshows using open source technologies. ๐ - </h3> + </h3> + + <h3>licenses</h3> + <ul> + <li> <a href="gpl2.php"> pandoc's license (gnu gpl v2)</a> </li> + <li><a href="LaTeX.php"> The LaTeX Project Public License (1.3)</a></li> + <li><a href="mit.php"> SimpleMDE's license (mit)</a></li> + <li><a href="isc.php"> suckless sent's license (isc)</a></li> - <h3>licenses</h3> - <ul> - <li> <a href="gpl2.php"> pandoc's license (gnu gpl v2)</a> </li> - <li><a href="LaTeX.php"> The LaTeX Project Public License (1.3)</a></li> - <li><a href="mit.php"> SimpleMDE's license (mit)</a></li> - <li><a href="isc.php"> suckless sent's license (isc)</a></li> + </ul> - </ul> + <h3>related links</h3> + <ul> + <li> <a target="_blank" href="https://pandoc.org/">pandoc.org</a> </li> + <li>SimpleMDE's <a target="_blank" href="https://github.com/sparksuite/simplemde-markdown-editor">github</a> </li> + <li> <a target="_blank" href="https://www.latex-project.org/">LaTex-project.org</a> </li> + <li>build of suckless sent with pdf export by <a target="_blank" href="https://github.com/BigHeadGeorge/sent-pdf">BigHeadGeorge</a> </li> + </ul> + </div> - <h3>related links</h3> - <ul> - <li> <a target="_blank" href="https://pandoc.org/">pandoc.org</a> </li> - <li>SimpleMDE's <a target="_blank" href="https://github.com/sparksuite/simplemde-markdown-editor">github</a> </li> - <li> <a target="_blank" href="https://www.latex-project.org/">LaTex-project.org</a> </li> - <li>build of suckless sent with pdf export by <a target="_blank" href="https://github.com/BigHeadGeorge/sent-pdf">BigHeadGeorge</a> </li> - </ul> - </div> + <br><br><br> + <footer> - <br><br><br> - <footer> + <?php include "includes/nav-footer.php"; ?> - <?php include "includes/nav-footer.php" ?> + </footer> +</body> - </footer> - </body> </html> @@ -1,32 +1,34 @@ <!DOCTYPE html> <html lang=en> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> - <link rel="stylesheet" href="../css/style.css"> - <link rel = "icon" href = "../img/site-icon.webp" type = "image/x-icon"> - <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css + +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> + <link rel="stylesheet" href="../css/style.css"> + <link rel="icon" href="../img/site-icon.webp" type="image/x-icon"> + <link rel="stylesheet" href="https://cdn.rawgit.com/xcatliu/simplemde-theme-dark/master/dist/simplemde-theme-dark.min.css "> - <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> - <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> - <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. + <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> + <title>procrastiSlides: great for procratinators who need to get a presentation out, quick! ๐</title> + <meta name="description" content="create presentations from markdown or plain text! ๐ค procrastiSlides is a simple presentation(s) site that respects your dark mode setting and has responsive web design. non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. ๐ซ try copy and pasting your school notes! that might even work ๐"> - </head> - <body> - <div class=banner> - <h1>๐ licenses ๐งโโ๏ธ</h1> - <hr/> - </div> - <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) +</head> + +<body> + <div class=banner> + <h1>๐ licenses ๐งโโ๏ธ</h1> + <hr /> + </div> + <p class="centered">this website is inspired from the suckless's presentation tool (<a target="_blank" href="https://tools.suckless.org/sent">sent</a>) and Luke Smith's <a target="_blank" href="https://youtu.be/dum7q6UXiCE">video</a> on creating presentations using markdown and LaTeX beamer. - We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open - souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> - <hr> + We would like to personally thank them for all the educational resources (for suckless, it's the source code ๐) that they have shared with the open + souce community throughout the yearsโฆ <b>๐ Thank you! ๐ค</b> </p> + <hr> - <?php include "includes/nav-header.php" ?> -<div class="centered"> - <pre> + <?php include "includes/nav-header.php"; ?> + <div class="centered"> + <pre> The MIT License (MIT) @@ -50,14 +52,15 @@ SOFTWARE. </pre> - </div> + </div> + + <br> + <footer> - <br> - <footer> + <?php include "includes/nav-footer.php"; ?> - <?php include "includes/nav-footer.php" ?> + </footer> +</body> - </footer> - </body> </html> diff --git a/output/90sMakeUpCommercial.md b/output/90sMakeUpCommercial.md new file mode 100644 index 0000000..391bb00 --- /dev/null +++ b/output/90sMakeUpCommercial.md @@ -0,0 +1,7 @@ +--- +theme: Warsaw +colortheme: dolphin +aspectratio: 169 +fontsize: 17pt +fontfamily: avant +--- diff --git a/output/chicagoOlives.md b/output/chicagoOlives.md new file mode 100644 index 0000000..d434e10 --- /dev/null +++ b/output/chicagoOlives.md @@ -0,0 +1,7 @@ +--- +theme: Nord +colortheme: Nord +aspectratio: 169 +fontsize: 17pt +fontfamily: libertine +--- diff --git a/output/cleanMetropolis.md b/output/cleanMetropolis.md new file mode 100644 index 0000000..4c4c690 --- /dev/null +++ b/output/cleanMetropolis.md @@ -0,0 +1,7 @@ +--- +theme: "metropolis" +colortheme: "default" +aspectratio: "169" +fontsize: "17pt" +fontfamily: "helvet" +--- diff --git a/output/earlyCupertino.md b/output/earlyCupertino.md new file mode 100644 index 0000000..5bd32b0 --- /dev/null +++ b/output/earlyCupertino.md @@ -0,0 +1,7 @@ +--- +theme: Berlin +colortheme: owl +aspectratio: 169 +fontsize: 17pt +fontfamily: helvet +--- diff --git a/output/ohioCustard.md b/output/ohioCustard.md new file mode 100644 index 0000000..dd7137b --- /dev/null +++ b/output/ohioCustard.md @@ -0,0 +1,7 @@ +--- +theme: Darmstadt +colortheme: crane +aspectratio: 169 +fontsize: 17pt +fontfamily: lato +--- diff --git a/output/raleighAroundMe.md b/output/raleighAroundMe.md new file mode 100644 index 0000000..4e6207f --- /dev/null +++ b/output/raleighAroundMe.md @@ -0,0 +1,7 @@ +--- +theme: Boadilla +colortheme: beaver +aspectratio: 169 +fontsize: 17pt +fontfamily: roboto +--- |
