summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
Diffstat (limited to 'public/views')
-rw-r--r--public/views/body.ejs8
-rw-r--r--public/views/error.ejs2
-rw-r--r--public/views/foot.ejs94
-rw-r--r--public/views/head.ejs44
-rw-r--r--public/views/header.ejs6
-rw-r--r--public/views/html.hbs4
-rw-r--r--public/views/pretty.ejs4
-rw-r--r--public/views/slide/listing.hbs2
-rw-r--r--public/views/slide/reveal.hbs40
9 files changed, 103 insertions, 101 deletions
diff --git a/public/views/body.ejs b/public/views/body.ejs
index b0994824..dc557067 100644
--- a/public/views/body.ejs
+++ b/public/views/body.ejs
@@ -83,16 +83,16 @@
<h4 class="modal-title" id="mySmallModalLabel">Please sign in to edit</h4>
</div>
<div class="modal-body">
- <a href="/auth/facebook" class="btn btn-lg btn-block btn-social btn-facebook">
+ <a href="<%- url %>/auth/facebook" class="btn btn-lg btn-block btn-social btn-facebook">
<i class="fa fa-facebook"></i> Sign in via Facebook
</a>
- <a href="/auth/twitter" class="btn btn-lg btn-block btn-social btn-twitter">
+ <a href="<%- url %>/auth/twitter" class="btn btn-lg btn-block btn-social btn-twitter">
<i class="fa fa-twitter"></i> Sign in via Twitter
</a>
- <a href="/auth/github" class="btn btn-lg btn-block btn-social btn-github">
+ <a href="<%- url %>/auth/github" class="btn btn-lg btn-block btn-social btn-github">
<i class="fa fa-github"></i> Sign in via GitHub
</a>
- <a href="/auth/dropbox" class="btn btn-lg btn-block btn-social btn-dropbox">
+ <a href="<%- url %>/auth/dropbox" class="btn btn-lg btn-block btn-social btn-dropbox">
<i class="fa fa-dropbox"></i> Sign in via Dropbox
</a>
</div>
diff --git a/public/views/error.ejs b/public/views/error.ejs
index cd9f54be..255c6ee7 100644
--- a/public/views/error.ejs
+++ b/public/views/error.ejs
@@ -3,7 +3,7 @@
<head>
<%- include head %>
- <link rel="stylesheet" href="/css/center.css">
+ <link rel="stylesheet" href="<%- url %>/css/center.css">
</head>
<body>
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index dfb07ece..38a2b6c2 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -8,59 +8,59 @@
<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.3.7/socket.io.min.js" defer></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/js-yaml/3.4.6/js-yaml.min.js" defer></script>
<% } else { %>
-<script src="/vendor/spin.js/spin.min.js" defer></script>
-<script src="/vendor/jquery/dist/jquery.min.js"></script>
-<script src="/vendor/jquery-mousewheel/jquery.mousewheel.min.js" defer></script>
-<script src="/vendor/bootstrap/dist/js/bootstrap.min.js" defer></script>
-<script src="/vendor/gsap/src/minified/TweenMax.min.js" defer></script>
-<script src="/vendor/gsap/src/minified/jquery.gsap.min.js" defer></script>
-<script src="/vendor/socket.io-client/socket.io.js" defer></script>
-<script src="/vendor/js-yaml/dist/js-yaml.min.js" defer></script>
+<script src="<%- url %>/vendor/spin.js/spin.min.js" defer></script>
+<script src="<%- url %>/vendor/jquery/dist/jquery.min.js"></script>
+<script src="<%- url %>/vendor/jquery-mousewheel/jquery.mousewheel.min.js" defer></script>
+<script src="<%- url %>/vendor/bootstrap/dist/js/bootstrap.min.js" defer></script>
+<script src="<%- url %>/vendor/gsap/src/minified/TweenMax.min.js" defer></script>
+<script src="<%- url %>/vendor/gsap/src/minified/jquery.gsap.min.js" defer></script>
+<script src="<%- url %>/vendor/socket.io-client/socket.io.js" defer></script>
+<script src="<%- url %>/vendor/js-yaml/dist/js-yaml.min.js" defer></script>
<% } %>
-<script src="/vendor/jquery-ui/jquery-ui.min.js" defer></script>
+<script src="<%- url %>/vendor/jquery-ui/jquery-ui.min.js" defer></script>
<!--codemirror-->
-<script src="/vendor/codemirror/codemirror.min.js" defer></script>
-<script src="/vendor/inlineAttachment/inline-attachment.js" defer></script>
-<script src="/vendor/inlineAttachment/codemirror.inline-attachment.js" defer></script>
+<script src="<%- url %>/vendor/codemirror/codemirror.min.js" defer></script>
+<script src="<%- url %>/vendor/inlineAttachment/inline-attachment.js" defer></script>
+<script src="<%- url %>/vendor/inlineAttachment/codemirror.inline-attachment.js" defer></script>
<!--ot-->
-<script src="/vendor/ot/ot.min.js" defer></script>
+<script src="<%- url %>/vendor/ot/ot.min.js" defer></script>
<!--others-->
-<script src="/vendor/remarkable.min.js" defer></script>
-<script src="/vendor/remarkable-regex.js" defer></script>
-<script src="/vendor/gist-embed.js" defer></script>
-<script src="/vendor/lz-string/libs/lz-string.min.js" defer></script>
-<script src="/vendor/xss/dist/xss.min.js" defer></script>
-<script src="/vendor/string.min.js" defer></script>
-<script src="/vendor/highlight-js/highlight.min.js" defer></script>
-<script src="/vendor/js.cookie.js" defer></script>
-<script src="/vendor/moment/min/moment-with-locales.js" defer></script>
-<script src="/vendor/handlebars/handlebars.min.js" defer></script>
-<script src="/vendor/emojify/js/emojify.min.js" defer></script>
-<script src="/vendor/to-markdown/dist/to-markdown.js" defer></script>
-<script src="/vendor/raphael-min.js" defer></script>
-<script src="/vendor/lodash.min.js" defer></script>
-<script src="/vendor/sequence-diagrams/sequence-diagram-min.js" defer></script>
-<script src="/vendor/flowchart/release/flowchart.min.js" defer></script>
-<script src="/vendor/viz.js/viz.js" defer></script>
-<script src="/vendor/FileSaver.min.js" defer></script>
-<script src="/vendor/store.min.js" defer></script>
-<script src="/vendor/js-url/url.min.js" defer></script>
-<script src="/vendor/jquery-textcomplete/jquery.textcomplete.js" defer></script>
-<script src="/vendor/idle.js" defer></script>
-<script src="/vendor/visibility-1.2.1.min.js" defer></script>
-<script src="/vendor/list.min.js" defer></script>
-<script src="/vendor/md5.min.js" defer></script>
-<script src="/vendor/md-toc.js" defer></script>
-<script src="/vendor/showup/showup.js" defer></script>
-<script src="/vendor/randomColor.js" defer></script>
+<script src="<%- url %>/vendor/remarkable.js" defer></script>
+<script src="<%- url %>/vendor/remarkable-regex.js" defer></script>
+<script src="<%- url %>/vendor/gist-embed.js" defer></script>
+<script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script>
+<script src="<%- url %>/vendor/xss/dist/xss.min.js" defer></script>
+<script src="<%- url %>/vendor/string.min.js" defer></script>
+<script src="<%- url %>/vendor/highlight-js/highlight.min.js" defer></script>
+<script src="<%- url %>/vendor/js.cookie.js" defer></script>
+<script src="<%- url %>/vendor/moment/min/moment-with-locales.js" defer></script>
+<script src="<%- url %>/vendor/handlebars/handlebars.min.js" defer></script>
+<script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
+<script src="<%- url %>/vendor/to-markdown/dist/to-markdown.js" defer></script>
+<script src="<%- url %>/vendor/raphael/raphael-min.js" defer></script>
+<script src="<%- url %>/vendor/lodash.min.js" defer></script>
+<script src="<%- url %>/vendor/sequence-diagrams/sequence-diagram-min.js" defer></script>
+<script src="<%- url %>/vendor/flowchart/release/flowchart.min.js" defer></script>
+<script src="<%- url %>/vendor/viz.js/viz.js" defer></script>
+<script src="<%- url %>/vendor/FileSaver.min.js" defer></script>
+<script src="<%- url %>/vendor/store.min.js" defer></script>
+<script src="<%- url %>/vendor/js-url/url.min.js" defer></script>
+<script src="<%- url %>/vendor/jquery-textcomplete/jquery.textcomplete.js" defer></script>
+<script src="<%- url %>/vendor/idle.js" defer></script>
+<script src="<%- url %>/vendor/visibility-1.2.1.min.js" defer></script>
+<script src="<%- url %>/vendor/list.min.js" defer></script>
+<script src="<%- url %>/vendor/md5.min.js" defer></script>
+<script src="<%- url %>/vendor/md-toc.js" defer></script>
+<script src="<%- url %>/vendor/showup/showup.js" defer></script>
+<script src="<%- url %>/vendor/randomColor.js" defer></script>
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="rdoizrlnkuha23r" async defer></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }});
</script>
<script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
-<script src="/js/common.js" defer></script>
-<script src="/js/extra.js" defer></script>
-<script src="/js/render.js" defer></script>
-<script src="/js/history.js" defer></script>
-<script src="/js/index.js" defer></script>
-<script src="/js/syncscroll.js" defer></script> \ No newline at end of file
+<script src="<%- url %>/js/common.js" defer></script>
+<script src="<%- url %>/js/extra.js" defer></script>
+<script src="<%- url %>/js/render.js" defer></script>
+<script src="<%- url %>/js/history.js" defer></script>
+<script src="<%- url %>/js/index.js" defer></script>
+<script src="<%- url %>/js/syncscroll.js" defer></script> \ No newline at end of file
diff --git a/public/views/head.ejs b/public/views/head.ejs
index 92fd44e4..17a4a8fb 100644
--- a/public/views/head.ejs
+++ b/public/views/head.ejs
@@ -8,34 +8,34 @@
<meta name="robots" content="<%- robots %>">
<% } %>
<title><%- title %></title>
-<link rel="icon" type="image/png" href="/favicon.png">
-<link rel="apple-touch-icon" href="/apple-touch-icon.png">
+<link rel="icon" type="image/png" href="<%- url %>/favicon.png">
+<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">
<% if(useCDN) { %>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.0/bootstrap-social.min.css">
<% } else { %>
-<link rel="stylesheet" href="/vendor/bootstrap/dist/css/bootstrap.min.css">
-<link rel="stylesheet" href="/vendor/font-awesome/css/font-awesome.min.css">
-<link rel="stylesheet" href="/css/bootstrap-social.css">
+<link rel="stylesheet" href="<%- url %>/vendor/bootstrap/dist/css/bootstrap.min.css">
+<link rel="stylesheet" href="<%- url %>/vendor/font-awesome/css/font-awesome.min.css">
+<link rel="stylesheet" href="<%- url %>/css/bootstrap-social.css">
<% } %>
-<link rel="stylesheet" href="/vendor/jquery-ui/jquery-ui.min.css">
-<link rel="stylesheet" href="/vendor/codemirror/lib/codemirror.css">
-<link rel="stylesheet" href="/vendor/codemirror/addon/fold/foldgutter.css">
-<link rel="stylesheet" href="/vendor/codemirror/addon/display/fullscreen.css">
-<link rel="stylesheet" href="/vendor/codemirror/addon/dialog/dialog.css">
-<link rel="stylesheet" href="/vendor/codemirror/addon/scroll/simplescrollbars.css">
-<link rel="stylesheet" href="/vendor/codemirror/addon/search/matchesonscrollbar.css">
-<link rel="stylesheet" href="/vendor/codemirror/theme/monokai.css">
-<link rel="stylesheet" href="/vendor/codemirror/theme/one-dark.css">
-<link rel="stylesheet" href="/css/github-extract.css">
-<link rel="stylesheet" href="/vendor/highlight-js/github-gist.min.css">
-<link rel="stylesheet" href="/vendor/emojify/css/emojify.min.css">
-<link rel="stylesheet" href="/vendor/showup/showup.css">
-<link rel="stylesheet" href="/css/markdown.css">
-<link rel="stylesheet" href="/css/index.css">
-<link rel="stylesheet" href="/css/extra.css">
-<link rel="stylesheet" href="/css/site.css">
+<link rel="stylesheet" href="<%- url %>/vendor/jquery-ui/jquery-ui.min.css">
+<link rel="stylesheet" href="<%- url %>/vendor/codemirror/lib/codemirror.css">
+<link rel="stylesheet" href="<%- url %>/vendor/codemirror/addon/fold/foldgutter.css">
+<link rel="stylesheet" href="<%- url %>/vendor/codemirror/addon/display/fullscreen.css">
+<link rel="stylesheet" href="<%- url %>/vendor/codemirror/addon/dialog/dialog.css">
+<link rel="stylesheet" href="<%- url %>/vendor/codemirror/addon/scroll/simplescrollbars.css">
+<link rel="stylesheet" href="<%- url %>/vendor/codemirror/addon/search/matchesonscrollbar.css">
+<link rel="stylesheet" href="<%- url %>/vendor/codemirror/theme/monokai.css">
+<link rel="stylesheet" href="<%- url %>/vendor/codemirror/theme/one-dark.css">
+<link rel="stylesheet" href="<%- url %>/css/github-extract.css">
+<link rel="stylesheet" href="<%- url %>/vendor/highlight-js/github-gist.min.css">
+<link rel="stylesheet" href="<%- url %>/vendor/emojify/css/emojify.min.css">
+<link rel="stylesheet" href="<%- url %>/vendor/showup/showup.css">
+<link rel="stylesheet" href="<%- url %>/css/markdown.css">
+<link rel="stylesheet" href="<%- url %>/css/index.css">
+<link rel="stylesheet" href="<%- url %>/css/extra.css">
+<link rel="stylesheet" href="<%- url %>/css/site.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
diff --git a/public/views/header.ejs b/public/views/header.ejs
index 4e3a9938..3cd129e1 100644
--- a/public/views/header.ejs
+++ b/public/views/header.ejs
@@ -13,7 +13,7 @@
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu">
</ul>
</div>
- <a class="navbar-brand" href="/"><i class="fa fa-file-text"></i> HackMD</a>
+ <a class="navbar-brand" href="<%- url %>"><i class="fa fa-file-text"></i> HackMD</a>
<div class="nav-mobile pull-right visible-xs">
<span class="btn btn-link btn-file ui-upload-image" title="Upload Image" style="display:none;">
<i class="fa fa-camera"></i><input type="file" accept="image/*" name="upload" multiple>
@@ -22,7 +22,7 @@
<i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu">
- <li role="presentation"><a role="menuitem" class="ui-new" tabindex="-1" href="./new" target="_blank"><i class="fa fa-plus fa-fw"></i> New</a>
+ <li role="presentation"><a role="menuitem" class="ui-new" tabindex="-1" href="<%- url %>/new" target="_blank"><i class="fa fa-plus fa-fw"></i> New</a>
</li>
<li role="presentation"><a role="menuitem" class="ui-publish" tabindex="-1" href="#" target="_blank"><i class="fa fa-print fa-fw"></i> Publish</a>
</li>
@@ -90,7 +90,7 @@
</ul>
<ul class="nav navbar-nav navbar-right" style="padding:0;">
<li>
- <a href="./new" target="_blank" class="ui-new">
+ <a href="<%- url %>/new" target="_blank" class="ui-new">
<i class="fa fa-plus"></i> New
</a>
</li>
diff --git a/public/views/html.hbs b/public/views/html.hbs
index 5c7e6bea..2d68bb3d 100644
--- a/public/views/html.hbs
+++ b/public/views/html.hbs
@@ -13,8 +13,8 @@
<title>
{{title}}
</title>
- <link rel="icon" type="image/png" href="https://hackmd.io/favicon.png">
- <link rel="apple-touch-icon" href="https://hackmd.io/apple-touch-icon.png">
+ <link rel="icon" type="image/png" href="{{{url}}}/favicon.png">
+ <link rel="apple-touch-icon" href="{{{url}}}/apple-touch-icon.png">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index 998b2ef7..79cce178 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -82,9 +82,10 @@
<script src="<%- url %>/vendor/gist-embed.js" defer></script>
<script src="<%- url %>/vendor/string.min.js" defer></script>
<script src="<%- url %>/vendor/highlight-js/highlight.min.js" defer></script>
+<script src="<%- url %>/vendor/js.cookie.js" defer></script>
<script src="<%- url %>/vendor/moment/min/moment-with-locales.js" defer></script>
<script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
-<script src="<%- url %>/vendor/raphael-min.js" defer></script>
+<script src="<%- url %>/vendor/raphael/raphael-min.js" defer></script>
<script src="<%- url %>/vendor/lodash.min.js" defer></script>
<script src="<%- url %>/vendor/sequence-diagrams/sequence-diagram-min.js" defer></script>
<script src="<%- url %>/vendor/flowchart/release/flowchart.min.js" defer></script>
@@ -94,6 +95,7 @@
MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }});
</script>
<script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
+<script src="<%- url %>/js/common.js" defer></script>
<script src="<%- url %>/js/extra.js" defer></script>
<script src="<%- url %>/js/render.js" defer></script>
<script src="<%- url %>/js/pretty.js" defer></script> \ No newline at end of file
diff --git a/public/views/slide/listing.hbs b/public/views/slide/listing.hbs
index 371f4ac3..7da8ebab 100644
--- a/public/views/slide/listing.hbs
+++ b/public/views/slide/listing.hbs
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Directory Listing</title>
- <link rel="stylesheet" href="/vendor/reveal.js/{{{theme}}}" id="theme">
+ <link rel="stylesheet" href="{{{url}}}/vendor/reveal.js/{{{theme}}}" id="theme">
<style type="text/css">
body {
margin: 1em;
diff --git a/public/views/slide/reveal.hbs b/public/views/slide/reveal.hbs
index fd87ddb3..8a93c267 100644
--- a/public/views/slide/reveal.hbs
+++ b/public/views/slide/reveal.hbs
@@ -6,19 +6,19 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="mobile-web-app-capable" content="yes">
<title>{{title}}</title>
- <link rel="icon" type="image/png" href="https://hackmd.io/favicon.png">
- <link rel="apple-touch-icon" href="https://hackmd.io/apple-touch-icon.png">
+ <link rel="icon" type="image/png" href="{{{url}}}/favicon.png">
+ <link rel="apple-touch-icon" href="{{{url}}}/apple-touch-icon.png">
- <link rel="stylesheet" href="/vendor/reveal.js/css/reveal.css">
- <link rel="stylesheet" href="/vendor/reveal.js/{{{theme}}}" id="theme">
+ <link rel="stylesheet" href="{{{url}}}/vendor/reveal.js/css/reveal.css">
+ <link rel="stylesheet" href="{{{url}}}/vendor/reveal.js/{{{theme}}}" id="theme">
<!-- For syntax highlighting -->
- <link rel="stylesheet" href="/vendor/reveal.js/lib/css/{{{highlightTheme}}}.css">
- <link rel="stylesheet" href="/css/site.css">
- <link rel="stylesheet" href="/css/slide.css">
+ <link rel="stylesheet" href="{{{url}}}/vendor/reveal.js/lib/css/{{{highlightTheme}}}.css">
+ <link rel="stylesheet" href="{{{url}}}/css/site.css">
+ <link rel="stylesheet" href="{{{url}}}/css/slide.css">
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>
- document.write( '<link rel="stylesheet" href="/vendor/reveal.js/css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
+ document.write( '<link rel="stylesheet" href="{{{url}}}/vendor/reveal.js/css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
</script>
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
</head>
@@ -27,12 +27,12 @@
<div class="reveal">
<div class="slides">{{{slides}}}</div>
</div>
-
- <script src="/vendor/reveal.js/lib/js/head.min.js"></script>
- <script src="/vendor/reveal.js/js/reveal.js"></script>
- <script src="/vendor/string.min.js"></script>
- <script src="/vendor/xss/dist/xss.min.js"></script>
- <script src="/js/render.js"></script>
+
+ <script src="{{{url}}}/vendor/reveal.js/lib/js/head.min.js"></script>
+ <script src="{{{url}}}/vendor/reveal.js/js/reveal.js"></script>
+ <script src="{{{url}}}/vendor/string.min.js"></script>
+ <script src="{{{url}}}/vendor/xss/dist/xss.min.js"></script>
+ <script src="{{{url}}}/js/render.js"></script>
<script>
var body = $(".slides").html();
@@ -53,12 +53,12 @@
// Optional libraries used to extend on reveal.js
var deps = [
- { src: '/vendor/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
- { src: '/vendor/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector('[data-markdown]'); } },
- { src: '/js/reveal-markdown.js', condition: function() { return !!document.querySelector('[data-markdown]'); } },
- { src: '/vendor/reveal.js/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
- { src: '/vendor/reveal.js/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
- { src: '/vendor/reveal.js/plugin/math/math.js', async: true }
+ { src: '{{{url}}}/vendor/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
+ { src: '{{{url}}}/vendor/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector('[data-markdown]'); } },
+ { src: '{{{url}}}/js/reveal-markdown.js', condition: function() { return !!document.querySelector('[data-markdown]'); } },
+ { src: '{{{url}}}/vendor/reveal.js/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
+ { src: '{{{url}}}/vendor/reveal.js/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
+ { src: '{{{url}}}/vendor/reveal.js/plugin/math/math.js', async: true }
];
// default options to init reveal.js