support including plugins via <script> instead of dependencies
This commit is contained in:
parent
34458a988a
commit
7b151c2320
10 changed files with 6 additions and 26 deletions
|
@ -163,20 +163,15 @@
|
|||
</div>
|
||||
|
||||
<script src="../../dist/reveal.min.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
// Full list of configuration options available here:
|
||||
// https://github.com/hakimel/reveal.js#configuration
|
||||
Reveal.initialize({
|
||||
center: true,
|
||||
hash: true,
|
||||
|
||||
dependencies: [
|
||||
{ src: '../../plugin/highlight/highlight.js', async: true }
|
||||
{ src: '../../dist/plugin/highlight.js', async: true }
|
||||
]
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue