Autoformat

This commit is contained in:
Alex Myasoedov 2017-03-01 19:10:27 -05:00
parent e7921d0503
commit 57d3df15ca

View file

@ -15,13 +15,60 @@ function initializeReveal() {
embedded: isPreview() ? true : false,
// Optional reveal.js plugins
dependencies: [
{ src: '/static/revealjs/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/static/revealjs/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/static/revealjs/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); }, callback: function() { externalLinksInNewWindow(); } },
{ src: '/static/revealjs/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/static/revealjs/plugin/zoom-js/zoom.js', async: true },
{ src: '/static/revealjs/plugin/notes/notes.js', async: true }
dependencies: [{
src: '/static/reveal.js/lib/js/classList.js',
condition: function() {
return !document.body.classList;
}
},
// Interpret Markdown in <section> elements
{
src: '/static/reveal.js/plugin/markdown/marked.js',
condition: function() {
return !!document.querySelector('[data-markdown]');
}
}, {
src: '/static/reveal.js/plugin/markdown/markdown.js',
condition: function() {
return !!document.querySelector('[data-markdown]');
}
},
// Syntax highlight for <code> elements
{
src: '/static/reveal.js/plugin/highlight/highlight.js',
async: true,
callback: function() {
hljs.initHighlightingOnLoad();
}
},
// Zoom in and out with Alt+click
{
src: '/static/reveal.js/plugin/zoom-js/zoom.js',
async: true
},
// Speaker notes
{
src: '/static/reveal.js/plugin/notes/notes.js',
async: true
},
// MathJax
{
src: '/static/reveal.js/plugin/math/math.js',
async: true
}
{
src: '/static/reveal.js/static/revealjs/lib/js/classList.js',
condition: function() {
return !document.body.classList;
}
}
d
]
});
}