Skip to content

Instantly share code, notes, and snippets.

@mlomb
Created September 21, 2023 03:58
Show Gist options
  • Save mlomb/ca19ccd8785ff4bd9e3f193467954ed2 to your computer and use it in GitHub Desktop.
Save mlomb/ca19ccd8785ff4bd9e3f193467954ed2 to your computer and use it in GitHub Desktop.
Slides template (reveal.js)
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Slides</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/reveal.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/theme/white.css">
</head>
<body>
<div class="reveal">
<div class="slides">
<section data-markdown>
# A
## B
### C
</section>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/reveal.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugin/highlight/highlight.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugin/markdown/markdown.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugin/math/math.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugin/search/search.js"></script>
<script>
Reveal.initialize({
hash: true,
plugins: [ RevealHighlight, RevealMarkdown, RevealMath, RevealSearch ],
slideNumber: "c/t"
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment