aboutsummaryrefslogtreecommitdiff
path: root/test/examples
diff options
context:
space:
mode:
Diffstat (limited to 'test/examples')
-rw-r--r--test/examples/assets/beeping.txt2
-rw-r--r--test/examples/assets/beeping.wavbin0 -> 422472 bytes
-rw-r--r--test/examples/embedded-media.html6
-rw-r--r--test/examples/math.html26
-rw-r--r--test/examples/slide-backgrounds.html1
-rw-r--r--test/examples/slide-transitions.html1
6 files changed, 30 insertions, 6 deletions
diff --git a/test/examples/assets/beeping.txt b/test/examples/assets/beeping.txt
new file mode 100644
index 0000000..bf41997
--- /dev/null
+++ b/test/examples/assets/beeping.txt
@@ -0,0 +1,2 @@
+Source: https://freesound.org/people/fennelliott/sounds/379419/
+License: CC0 (public domain) \ No newline at end of file
diff --git a/test/examples/assets/beeping.wav b/test/examples/assets/beeping.wav
new file mode 100644
index 0000000..38747a5
--- /dev/null
+++ b/test/examples/assets/beeping.wav
Binary files differ
diff --git a/test/examples/embedded-media.html b/test/examples/embedded-media.html
index bbad4be..91457e4 100644
--- a/test/examples/embedded-media.html
+++ b/test/examples/embedded-media.html
@@ -30,11 +30,15 @@
<h2>Empty Slide</h2>
</section>
+ <section>
+ <h2>Auto-playing audio</h2>
+ <audio src="assets/beeping.wav" data-autoplay></audio>
+ </section>
+
</div>
</div>
- <script src="../../lib/js/head.min.js"></script>
<script src="../../js/reveal.js"></script>
<script>
diff --git a/test/examples/math.html b/test/examples/math.html
index d35e827..0f74a8f 100644
--- a/test/examples/math.html
+++ b/test/examples/math.html
@@ -83,6 +83,14 @@
</section>
<section>
+ <h3>TeX Macros</h3>
+
+ Here is a common vector space:
+ \[L^2(\R) = \set{u : \R \to \R}{\int_\R |u|^2 &lt; +\infty}\]
+ used in functional analysis.
+ </section>
+
+ <section>
<section>
<h3>The Lorenz Equations</h3>
@@ -153,13 +161,20 @@
\]
</div>
</section>
+
+ <section>
+ <h3>TeX Macros</h3>
+
+ Here is a common vector space:
+ \[L^2(\R) = \set{u : \R \to \R}{\int_\R |u|^2 &lt; +\infty}\]
+ used in functional analysis.
+ </section>
</section>
</div>
</div>
- <script src="../../lib/js/head.min.js"></script>
<script src="../../js/reveal.js"></script>
<script>
@@ -170,11 +185,16 @@
math: {
// mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
- config: 'TeX-AMS_HTML-full'
+ config: 'TeX-AMS_HTML-full',
+ TeX: {
+ Macros: {
+ R: '\\mathbb{R}',
+ set: [ '\\left\\{#1 \\; ; \\; #2\\right\\}', 2 ]
+ }
+ }
},
dependencies: [
- { src: '../../lib/js/classList.js' },
{ src: '../../plugin/math/math.js', async: true }
]
});
diff --git a/test/examples/slide-backgrounds.html b/test/examples/slide-backgrounds.html
index 316c92a..e08d260 100644
--- a/test/examples/slide-backgrounds.html
+++ b/test/examples/slide-backgrounds.html
@@ -122,7 +122,6 @@
</div>
- <script src="../../lib/js/head.min.js"></script>
<script src="../../js/reveal.js"></script>
<script>
diff --git a/test/examples/slide-transitions.html b/test/examples/slide-transitions.html
index 88119dc..b7520ab 100644
--- a/test/examples/slide-transitions.html
+++ b/test/examples/slide-transitions.html
@@ -81,7 +81,6 @@
</div>
- <script src="../../lib/js/head.min.js"></script>
<script src="../../js/reveal.js"></script>
<script>