Verified Commit 6b6f2fd0 authored by Roberto Bochet's avatar Roberto Bochet
Browse files

Use `external` plugin

parent 06bf5834
...@@ -53,6 +53,12 @@ ...@@ -53,6 +53,12 @@
config: 'TeX-AMS_HTML-full' // See http://docs.mathjax.org/en/latest/config-files.html config: 'TeX-AMS_HTML-full' // See http://docs.mathjax.org/en/latest/config-files.html
}, },
dependencies: [ dependencies: [
{
src: './reveal.js/plugin/external/external.js',
condition: function() {
return !!document.querySelector( '[data-external],[data-external-replace]' );
}
},
{ {
src: './reveal.js/plugin/markdown/marked.js', src: './reveal.js/plugin/markdown/marked.js',
condition: function () { condition: function () {
...@@ -88,14 +94,14 @@ ...@@ -88,14 +94,14 @@
<div class="reveal"> <div class="reveal">
<div class="slides"> <div class="slides">
<section data-markdown="./slides/intro.html"></section> <section data-external-replace="./slides/intro.html"></section>
<section data-charset="utf-8" <section data-charset="utf-8"
data-markdown="./slides/content.md" data-markdown="./slides/content.md"
data-separator="^\r?\n---\r?\n$" data-separator="^\r?\n---\r?\n$"
data-separator-notes="^Notes:" data-separator-notes="^Notes:"
data-separator-vertical="^\r?\n----\r?\n$"> data-separator-vertical="^\r?\n----\r?\n$">
</section> </section>
<section data-markdown="./slides/outro.html"></section> <section data-external-replace="./slides/outro.html"></section>
</div> </div>
</div> </div>
......
Subproject commit 5fe65260da01394ddf76dfb7c1cc260678178a40 Subproject commit 9fb68a1713a5c0fb62ba0e2d3bca1ec9b3573de6
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment