reveal_base.html
67 lines
| 2.8 KiB
| text/html
|
HtmlLexer
/ templates / reveal_base.html
damianavila
|
r8843 | <!DOCTYPE html> | ||
<html> | ||||
<head> | ||||
<meta charset="utf-8" /> | ||||
<meta http-equiv="X-UA-Compatible" content="chrome=1"> | ||||
<meta name="apple-mobile-web-app-capable" content="yes" /> | ||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> | ||||
<link rel="stylesheet" href="reveal/css/reveal.css"> | ||||
<link rel="stylesheet" href="reveal/css/theme/default.css" id="theme"> | ||||
damianavila
|
r8902 | <link rel="stylesheet" href="css/ipython.css"> | ||
damianavila
|
r8843 | <!-- For syntax highlighting --> | ||
<link rel="stylesheet" href="reveal/lib/css/zenburn.css"> | ||||
<!-- If the query includes 'print-pdf', use the PDF print sheet --> | ||||
<script> | ||||
document.write( '<link rel="stylesheet" href="reveal/css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' ); | ||||
</script> | ||||
<!--[if lt IE 9]> | ||||
<script src="reveal/lib/js/html5shiv.js"></script> | ||||
<![endif]--> | ||||
</head> | ||||
%slides% | ||||
<script src="reveal/lib/js/head.min.js"></script> | ||||
<script src="reveal/js/reveal.min.js"></script> | ||||
<script> | ||||
// Full list of configuration options available here: https://github.com/hakimel/reveal.js#configuration | ||||
Reveal.initialize({ | ||||
controls: true, | ||||
progress: true, | ||||
history: true, | ||||
damianavila
|
r8901 | theme: Reveal.getQueryHash().theme || 'simple', // available themes are in /css/theme | ||
damianavila
|
r8903 | transition: Reveal.getQueryHash().transition || 'linear', // default/cube/page/concave/zoom/linear/none | ||
damianavila
|
r8843 | |||
// Optional libraries used to extend on reveal.js | ||||
dependencies: [ | ||||
{ src: 'reveal/lib/js/classList.js', condition: function() { return !document.body.classList; } }, | ||||
{ src: 'reveal/plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, | ||||
{ src: 'reveal/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, | ||||
{ src: 'reveal/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }, | ||||
{ src: 'reveal/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } }, | ||||
{ src: 'reveal/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }, | ||||
{ src: 'https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML', async: true }, | ||||
{ src: 'js/revealmathjax.js', async: true} | ||||
] | ||||
}); | ||||
</script> | ||||
<script> | ||||
Reveal.addEventListener( 'slidechanged', function( event ) { | ||||
MathJax.Hub.Rerender(event.currentSlide); | ||||
}); | ||||
</script> | ||||
</body> | ||||
</html> | ||||