]> gitweb.fluxo.info Git - slides.git/commitdiff
Main slide
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 12 May 2023 03:01:48 +0000 (00:01 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 12 May 2023 03:01:48 +0000 (00:01 -0300)
Makefile.env
TODO.md
index.html [new file with mode: 0644]
index.md [new file with mode: 0644]
reveal.js [new symlink]

index d960e28be9dcc043ef3d4d1a957f2ca64094ac9b..ddc2af5ef82d386ce4adc91b47cebefde8cc1650 100644 (file)
@@ -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 2c7527d8ae7f936d4ed3a51f9aef5a7675f0b4f0..ff75a49cbdfce5a3d3686646163bef4dda580ecf 100644 (file)
--- 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 (file)
index 0000000..e42edff
--- /dev/null
@@ -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 (file)
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 (symlink)
index 0000000..10cb3e9
--- /dev/null
+++ b/reveal.js
@@ -0,0 +1 @@
+vendor/reveal.js
\ No newline at end of file