aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.dzslides4
-rw-r--r--data/templates/default.epub36
-rw-r--r--data/templates/default.html54
-rw-r--r--data/templates/default.revealjs4
4 files changed, 9 insertions, 9 deletions
diff --git a/data/templates/default.dzslides b/data/templates/default.dzslides
index 892a434cb..96862a2fd 100644
--- a/data/templates/default.dzslides
+++ b/data/templates/default.dzslides
@@ -12,7 +12,7 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
- <style type="text/css">
+ <style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
@@ -22,7 +22,7 @@ $if(quotes)$
$endif$
</style>
$if(highlighting-css)$
- <style type="text/css">
+ <style>
$highlighting-css$
</style>
$endif$
diff --git a/data/templates/default.epub3 b/data/templates/default.epub3
index 6428e984c..0bd4a1a87 100644
--- a/data/templates/default.epub3
+++ b/data/templates/default.epub3
@@ -5,7 +5,7 @@
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<title>$pagetitle$</title>
- <style type="text/css">
+ <style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
@@ -15,12 +15,12 @@ $if(quotes)$
$endif$
</style>
$if(highlighting-css)$
- <style type="text/css">
+ <style>
$highlighting-css$
</style>
$endif$
$for(css)$
- <link rel="stylesheet" type="text/css" href="$css$" />
+ <link rel="stylesheet" href="$css$" />
$endfor$
$for(header-includes)$
$header-includes$
diff --git a/data/templates/default.html5 b/data/templates/default.html5
index c2bf0e093..1d7bef4c7 100644
--- a/data/templates/default.html5
+++ b/data/templates/default.html5
@@ -14,7 +14,7 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
- <style type="text/css">
+ <style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
@@ -24,7 +24,7 @@ $if(quotes)$
$endif$
</style>
$if(highlighting-css)$
- <style type="text/css">
+ <style>
$highlighting-css$
</style>
$endif$
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index 5d76071a6..e1949e397 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -17,7 +17,7 @@ $endif$
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
- <style type="text/css">
+ <style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
@@ -27,7 +27,7 @@ $if(quotes)$
$endif$
</style>
$if(highlighting-css)$
- <style type="text/css">
+ <style>
$highlighting-css$
</style>
$endif$