diff options
author | Hakim El Hattab | 2019-03-21 09:03:27 +0100 |
---|---|---|
committer | GitHub | 2019-03-21 09:03:27 +0100 |
commit | b5fe0f812625ce1628ee24e69fff0eedca8e93fd (patch) | |
tree | f172935cf512c7f20182a9e6c0c9e9562e8c4190 /test/examples | |
parent | b4c6c920337aee02e563828c40a546b82a2dc47b (diff) | |
parent | 01874c6e70f11b63c66bdace29411812932b88f9 (diff) |
Merge branch 'dev' into hash-problem
Diffstat (limited to 'test/examples')
-rw-r--r-- | test/examples/assets/beeping.txt | 2 | ||||
-rw-r--r-- | test/examples/assets/beeping.wav | bin | 0 -> 422472 bytes | |||
-rw-r--r-- | test/examples/embedded-media.html | 6 | ||||
-rw-r--r-- | test/examples/math.html | 26 | ||||
-rw-r--r-- | test/examples/slide-backgrounds.html | 1 | ||||
-rw-r--r-- | test/examples/slide-transitions.html | 1 |
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 Binary files differnew file mode 100644 index 0000000..38747a5 --- /dev/null +++ b/test/examples/assets/beeping.wav 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 < +\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 < +\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> |