Revert to single HTML generator and parametrize excludeClasses

This commit is contained in:
Jérôme Petazzoni
2017-10-12 09:53:14 +02:00
parent c4d76ba367
commit 3369005e06
6 changed files with 36 additions and 13 deletions
+4 -2
View File
@@ -7,6 +7,7 @@
<link rel="stylesheet" href="workshop.css">
</head>
<body>
<!--
<div style="position: absolute; left: 20%; right: 20%; top: 30%;">
<h1 style="font-size: 3em;">Loading ...</h1>
The slides should show up here. If they don't, it might be
@@ -20,14 +21,15 @@
Once the slides are loaded, this notice disappears when you
go full screen (e.g. by hitting "f").
</div>
-->
<textarea id="source">@@MARKDOWN@@</textarea>
<script src="remark.min.js" type="text/javascript">
</script>
<script type="text/javascript">
var slideshow = remark.create({
sourceUrl: 'workshop.md',
ratio: '16:9',
highlightSpans: true,
excludedClasses: ["self-paced", "snap"]
excludedClasses: [@@EXCLUDE@@]
});
</script>
</body>