Skip to content

Commit f014952

Browse files
committed
update math example to use 4.0 plugin syntax
1 parent bd19860 commit f014952

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/math.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ <h3>TeX Macros</h3>
176176
</div>
177177

178178
<script src="../dist/reveal.js"></script>
179+
<script src="../plugin/math/math.js"></script>
179180
<script>
180181
Reveal.initialize({
181182
history: true,
@@ -192,9 +193,7 @@ <h3>TeX Macros</h3>
192193
}
193194
},
194195

195-
dependencies: [
196-
{ src: '../plugin/math/math.js', async: true }
197-
]
196+
plugins: [ RevealMath ]
198197
});
199198
</script>
200199

0 commit comments

Comments
 (0)