Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/resources/formats/revealjs/pandoc/reveal.patch
12923 views
1
--- revealjs.template 2022-03-24 09:03:15.000000000 -0400
2
+++ template.revealjs 2022-03-24 09:33:30.000000000 -0400
3
@@ -2,7 +2,12 @@
4
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
5
<head>
6
<meta charset="utf-8">
7
- <meta name="generator" content="pandoc">
8
+$if(quarto-version)$
9
+ <meta name="generator" content="quarto-$quarto-version$" />
10
+$else$
11
+ <meta name="generator" content="quarto" />
12
+$endif$
13
+
14
$for(author-meta)$
15
<meta name="author" content="$author-meta$">
16
$endfor$
17
@@ -19,9 +24,6 @@
18
<link rel="stylesheet" href="$revealjs-url$/dist/reset.css">
19
<link rel="stylesheet" href="$revealjs-url$/dist/reveal.css">
20
<style>
21
- .reveal .sourceCode { /* see #7635 */
22
- overflow: visible;
23
- }
24
$styles.html()$
25
</style>
26
$if(theme)$
27
@@ -78,6 +80,7 @@
28
</div>
29
</div>
30
31
+ <script>window.backupDefine = window.define; window.define = undefined;</script>
32
<script src="$revealjs-url$/dist/reveal.js"></script>
33
34
<!-- reveal.js plugins -->
35
@@ -87,12 +90,13 @@
36
$if(mathjax)$
37
<script src="$revealjs-url$/plugin/math/math.js"></script>
38
$endif$
39
+ <script>window.define = window.backupDefine; window.backupDefine = undefined;</script>
40
41
<script>
42
43
// Full list of configuration options available at:
44
// https://revealjs.com/config/
45
- Reveal.initialize({
46
+ Reveal.initialize({
47
// Display controls in the bottom right corner
48
controls: $controls$,
49
50
51