-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
21 lines (21 loc) · 1.36 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
// Optional libraries used to extend on reveal.js
dependencies: [
{src: 'lib/js/classList.js', condition: function() {return !document.body.classList;}},
{src: 'plugin/markdown/marked.js', condition: function() {return !!document.querySelector('[data-markdown]');}},
{src: 'plugin/markdown/markdown.js', condition: function() {return !!document.querySelector('[data-markdown]');}},
{src: 'plugin/highlight/highlight.js', async: true, callback: function() {hljs.initHighlightingOnLoad();}},
{src: 'plugin/zoom-js/zoom.js', async: true, condition: function() {return !!document.body.classList;}},
{src: 'plugin/notes/notes.js', async: true, condition: function() {return !!document.body.classList;}}
// {src: 'plugin/search/search.js', async: true, condition: function() {return !!document.body.classList;}}
// {src: 'plugin/remotes/remotes.js', async: true, condition: function() {return !!document.body.classList;}}
]
});