summaryrefslogtreecommitdiff
path: root/template.html
diff options
context:
space:
mode:
authorAndrew Guschin <guschin@altlinux.org>2024-02-28 00:23:09 +0400
committerAndrew Guschin <guschin@altlinux.org>2024-02-28 00:23:09 +0400
commit3038bbfc64924bce04f06665f89acdc5df05b20e (patch)
tree7540b001f3853b01b70a2b8ec72bcf87656c46d6 /template.html
Взлетаем!
Diffstat (limited to 'template.html')
-rw-r--r--template.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/template.html b/template.html
new file mode 100644
index 0000000..3cd6518
--- /dev/null
+++ b/template.html
@@ -0,0 +1,54 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+ <title>%s</title>
+ <link rel="icon" type="image/x-icon" href="/dist/favicon.png">
+ <!-- TODO: full custom css after reset.css -->
+ <!-- <link rel="stylesheet" href="dist/reset.css"> -->
+ <link rel="stylesheet" href="dist/reveal.css">
+ <link rel="stylesheet" href="dist/dsc.css" id="theme">
+ <!-- Theme used for syntax highlighted code -->
+ <link rel="stylesheet" href="dist/plugin/highlight/stackoverflow-light.css">
+ </head>
+ <body>
+ <div class="reveal">
+ <div class="slides">
+ <section
+ data-markdown="%s"
+ data-separator="^---"
+ data-separator-vertical="^--"
+ data-separator-notes="^Note:"
+ data-charset="utf-8">
+ </section>
+ </div>
+ </div>
+
+ <script src="dist/reveal.js"></script>
+ <script src="dist/plugin/zoom/zoom.js"></script>
+ <script src="dist/plugin/notes/notes.js"></script>
+ <script src="dist/plugin/markdown/markdown.js"></script>
+ <script src="dist/plugin/highlight/highlight.js"></script>
+ <script src="dist/plugin/math/math.js"></script>
+ <script>
+
+ Reveal.initialize({
+ controls: true,
+ progress: true,
+ history: true,
+ center: true,
+ autoAnimateEasing: 'ease-out',
+ autoAnimateDuration: 0.8,
+ autoAnimateUnmatched: true,
+ plugins: [
+ RevealZoom,
+ RevealMarkdown,
+ RevealHighlight,
+ RevealNotes,
+ RevealMath.KaTeX
+ ]
+ });
+ </script>
+ </body>
+</html>