Update revealjs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2020-08-04 01:16:41 +02:00
parent a135173a4a
commit 1e7f5f20b9
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
15 changed files with 20 additions and 32 deletions

@ -1 +1 @@
Subproject commit 33bed47daca3f08c396215415e6ece005970734a
Subproject commit 15815efe05ca69c35ce66cfdbf93316e1db66ecb

View file

@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>{{ title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../_assets/reveal.js/css/reveal.css">
<link rel="stylesheet" href="../_assets/reveal.js/dist/reveal.css">
<link rel="stylesheet" href="../_assets/reveal.js/css/print/pdf.css" media="print">
<link rel="stylesheet" href="{{ theme }}">
<link rel="stylesheet" href="../_assets/highlight.js/solarized-dark.css">
@ -22,8 +22,12 @@
{{ content }}
</div>
</div>
<script src="../_assets/reveal.js/js/reveal.js"></script>
<script>
<script type="module">
import Reveal from '../_assets/reveal.js/dist/reveal.esm.js'
import Highlight from '../_assets/reveal.js/plugin/highlight/highlight.esm.js'
import Zoom from '../_assets/reveal.js/plugin/zoom/zoom.esm.js'
import Notes from '../_assets/reveal.js/plugin/notes/notes.esm.js'
Reveal.initialize({
controls: {{ controls | lower }},
progress: {{ progress | lower }},
@ -39,23 +43,7 @@
transition: '{{ transition }}',
backgroundTransition: '{{ background_transition }}',
//math: {
// mathjax: '../_assets/MathJax/unpacked/MathJax.js',
// config: 'TeX-AMS_HTML-full'
//},
dependencies: [
// Syntax highlight for <code> elements
{ src: '../_assets/reveal.js/plugin/highlight/highlight.js', async: true, callback: () => hljs.initHighlightingOnLoad() },
// Zoom in and out with Alt+click
{ src: '../_assets/reveal.js/plugin/zoom-js/zoom.js', async: true },
// Speaker notes
{ src: '../_assets/reveal.js/plugin/notes/notes.js', async: true },
{% if mathjax -%}
// LaTeX rendering
//{ src: '../_assets/reveal.js/plugin/math/math.js', async: true }
{%- endif %}
]
plugins: [ Highlight, Zoom, Notes ],
});
</script>
</body>

View file

@ -1,4 +1,4 @@
@import url(../_assets/reveal.js/css/theme/black.css);
@import url(../_assets/reveal.js/dist/theme/black.css);
@import url(../_assets/fonts/TeXGyreAdventor/index.css);
sup {
font-size: 0.75em !important;

View file

@ -1,4 +1,4 @@
@import "../_assets/reveal.js/css/theme/black.css";
@import "../_assets/reveal.js/dist/theme/black.css";
@import "../_assets/fonts/Rajdhani/index.css";
.reveal h1,

View file

@ -1,4 +1,4 @@
@import "../_assets/reveal.js/css/theme/black.css";
@import "../_assets/reveal.js/dist/theme/black.css";
@import "../_assets/fonts/Rajdhani/index.css";
@import "../_assets/styles/quote.css";

Binary file not shown.

View file

@ -1,4 +1,4 @@
@import "../_assets/reveal.js/css/theme/black.css";
@import "../_assets/reveal.js/dist/theme/black.css";
@import "../_assets/fonts/Fira Sans/index.css";
@import "../_assets/styles/quote.css";

View file

@ -1,4 +1,4 @@
@import "../_assets/reveal.js/css/theme/black.css";
@import "../_assets/reveal.js/dist/theme/black.css";
@import "../_assets/fonts/Rajdhani/index.css";
@import "../_assets/styles/quote.css";

View file

@ -1,4 +1,4 @@
@import url(../_assets/reveal.js/css/theme/black.css);
@import url(../_assets/reveal.js/dist/theme/black.css);
@import url(../_assets/fonts/TeXGyreAdventor/index.css);
.reveal,

View file

@ -1,4 +1,4 @@
@import "../_assets/reveal.js/css/theme/black.css";
@import "../_assets/reveal.js/dist/theme/black.css";
@import "../_assets/fonts/Iosevka/index.css";
.reveal code {

View file

@ -1,4 +1,4 @@
@import "../_assets/reveal.js/css/theme/black.css";
@import "../_assets/reveal.js/dist/theme/black.css";
@import "../_assets/fonts/Fira Sans/index.css";
body * {

View file

@ -1,4 +1,4 @@
@import "../_assets/reveal.js/css/theme/black.css";
@import "../_assets/reveal.js/dist/theme/black.css";
@import "../_assets/fonts/Fira Sans/index.css";
.reveal h1,

View file

@ -1,4 +1,4 @@
@import "../_assets/reveal.js/css/theme/black.css";
@import "../_assets/reveal.js/dist/theme/black.css";
@import "../_assets/fonts/Fira Sans/index.css";
.reveal h1,

View file

@ -1,4 +1,4 @@
@import "../_assets/reveal.js/css/theme/black.css";
@import "../_assets/reveal.js/dist/theme/black.css";
@import "../_assets/fonts/Fira Sans/index.css";
.reveal h1,