aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-05-12 00:01:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-05-12 00:01:48 -0300
commit6f17223a2f18dcb3870f9e69462526387bbea266 (patch)
tree6aa7d9f35d7e205c9d024b8ee71b149a7fc4a068
parent810f063df92cfdda8b9ca12b72c9d96f00b136a5 (diff)
downloadslides-6f17223a2f18dcb3870f9e69462526387bbea266.tar.gz
slides-6f17223a2f18dcb3870f9e69462526387bbea266.tar.bz2
Main slide
-rw-r--r--Makefile.env3
-rw-r--r--TODO.md6
-rw-r--r--index.html86
-rw-r--r--index.md5
l---------reveal.js1
5 files changed, 98 insertions, 3 deletions
diff --git a/Makefile.env b/Makefile.env
index d960e28..ddc2af5 100644
--- a/Makefile.env
+++ b/Makefile.env
@@ -1,6 +1,9 @@
readme:
@pandoc README.md -o README.html
+index:
+ @pandoc -V theme=moon -s --mathjax -t revealjs index.md -o index.html
+
web_deploy:
@rsync -avz --delete ./ slides:/var/sites/slides/site/
diff --git a/TODO.md b/TODO.md
index 2c7527d..ff75a49 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,5 +1,5 @@
# TODO
-* Makefile:
- * Target to build all slides.
- * Target to build a custom index linking to all slides.
+* [ ] Makefile:
+ * [ ] Target to build all slides.
+ * [ ] Target to build a custom index linking to all slides.
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..e42edff
--- /dev/null
+++ b/index.html
@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <meta name="generator" content="pandoc">
+ <title>Fluxo de Slides</title>
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
+ <link rel="stylesheet" href="reveal.js/css/reset.css">
+ <link rel="stylesheet" href="reveal.js/css/reveal.css">
+ <style>
+ code{white-space: pre-wrap;}
+ span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
+ div.column{display: inline-block; vertical-align: top; width: 50%;}
+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
+ ul.task-list{list-style: none;}
+ </style>
+ <link rel="stylesheet" href="reveal.js/css/theme/moon.css" id="theme">
+ <!-- Printing and PDF exports -->
+ <script>
+ var link = document.createElement( 'link' );
+ link.rel = 'stylesheet';
+ link.type = 'text/css';
+ link.href = window.location.search.match( /print-pdf/gi ) ? 'reveal.js/css/print/pdf.css' : 'reveal.js/css/print/paper.css';
+ document.getElementsByTagName( 'head' )[0].appendChild( link );
+ </script>
+ <!--[if lt IE 9]>
+ <script src="reveal.js/lib/js/html5shiv.js"></script>
+ <![endif]-->
+</head>
+<body>
+ <div class="reveal">
+ <div class="slides">
+
+<section id="title-slide">
+ <h1 class="title">Fluxo de Slides</h1>
+</section>
+
+<section id="section" class="slide level2">
+<h2>2019</h2>
+<ul>
+<li><a href="salve-quem-puder">Salve quem puder</a>: o apagão de dados no Brasil</li>
+</ul>
+</section>
+ </div>
+ </div>
+
+ <script src="reveal.js/js/reveal.js"></script>
+
+ <script>
+
+ // Full list of configuration options available at:
+ // https://github.com/hakimel/reveal.js#configuration
+ Reveal.initialize({
+ // Push each slide change to the browser history
+ history: true,
+ math: {
+ mathjax: '/usr/share/javascript/mathjax/tex-mml-chtml.js',
+ config: 'TeX-AMS_HTML-full',
+ tex2jax: {
+ inlineMath: [['\\(','\\)']],
+ displayMath: [['\\[','\\]']],
+ balanceBraces: true,
+ processEscapes: false,
+ processRefs: true,
+ processEnvironments: true,
+ preview: 'TeX',
+ skipTags: ['script','noscript','style','textarea','pre','code'],
+ ignoreClass: 'tex2jax_ignore',
+ processClass: 'tex2jax_process'
+ },
+ },
+
+ // Optional reveal.js plugins
+ dependencies: [
+ { src: 'reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
+ { src: 'reveal.js/plugin/zoom-js/zoom.js', async: true },
+ { src: 'reveal.js/plugin/math/math.js', async: true },
+ { src: 'reveal.js/plugin/notes/notes.js', async: true }
+ ]
+ });
+ </script>
+ </body>
+</html>
diff --git a/index.md b/index.md
new file mode 100644
index 0000000..7d3ddf3
--- /dev/null
+++ b/index.md
@@ -0,0 +1,5 @@
+% Fluxo de Slides
+
+## 2019
+
+* [Salve quem puder](salve-quem-puder): o apagão de dados no Brasil
diff --git a/reveal.js b/reveal.js
new file mode 120000
index 0000000..10cb3e9
--- /dev/null
+++ b/reveal.js
@@ -0,0 +1 @@
+vendor/reveal.js \ No newline at end of file