aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-03 20:36:08 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-12-03 20:36:08 -0800
commitc94b970cede1644c71fae2161626d0a1eb13facc (patch)
tree659ac9432061de2d087a0fe3c2b741c91d4b3c06
parent45a46bf900bc7153f981088b65bd2cc90d3537d2 (diff)
downloadpandoc-c94b970cede1644c71fae2161626d0a1eb13facc.tar.gz
Include default CSS for 'underline' class in HTML-based templates.
-rw-r--r--data/templates/default.dzslides1
-rw-r--r--data/templates/default.epub21
-rw-r--r--data/templates/default.epub31
-rw-r--r--data/templates/default.html41
-rw-r--r--data/templates/default.html51
-rw-r--r--data/templates/default.revealjs1
-rw-r--r--data/templates/default.s51
-rw-r--r--data/templates/default.slideous1
-rw-r--r--data/templates/default.slidy1
-rw-r--r--test/lhs-test.html1
-rw-r--r--test/lhs-test.html+lhs1
-rw-r--r--test/s5-basic.html1
-rw-r--r--test/s5-fancy.html1
-rw-r--r--test/s5-inserts.html1
-rw-r--r--test/writer.html41
-rw-r--r--test/writer.html51
16 files changed, 16 insertions, 0 deletions
diff --git a/data/templates/default.dzslides b/data/templates/default.dzslides
index 2e0b50b52..73ef045f1 100644
--- a/data/templates/default.dzslides
+++ b/data/templates/default.dzslides
@@ -15,6 +15,7 @@ $endif$
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
diff --git a/data/templates/default.epub2 b/data/templates/default.epub2
index 31a0509bd..2abead3d0 100644
--- a/data/templates/default.epub2
+++ b/data/templates/default.epub2
@@ -9,6 +9,7 @@
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
diff --git a/data/templates/default.epub3 b/data/templates/default.epub3
index 7e7782597..ffe230507 100644
--- a/data/templates/default.epub3
+++ b/data/templates/default.epub3
@@ -8,6 +8,7 @@
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
diff --git a/data/templates/default.html4 b/data/templates/default.html4
index 9fc3e9beb..a771599f7 100644
--- a/data/templates/default.html4
+++ b/data/templates/default.html4
@@ -17,6 +17,7 @@ $endif$
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
diff --git a/data/templates/default.html5 b/data/templates/default.html5
index f6fb15e78..2272a0179 100644
--- a/data/templates/default.html5
+++ b/data/templates/default.html5
@@ -17,6 +17,7 @@ $endif$
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index 494858193..a958dfc7d 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -20,6 +20,7 @@ $endif$
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
diff --git a/data/templates/default.s5 b/data/templates/default.s5
index cf4a3cc8d..33e539744 100644
--- a/data/templates/default.s5
+++ b/data/templates/default.s5
@@ -18,6 +18,7 @@ $endif$
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
diff --git a/data/templates/default.slideous b/data/templates/default.slideous
index 179f69b1c..4c5e6a7bd 100644
--- a/data/templates/default.slideous
+++ b/data/templates/default.slideous
@@ -19,6 +19,7 @@ $endif$
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
diff --git a/data/templates/default.slidy b/data/templates/default.slidy
index 7e2d07e2f..5bc237c91 100644
--- a/data/templates/default.slidy
+++ b/data/templates/default.slidy
@@ -19,6 +19,7 @@ $endif$
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
diff --git a/test/lhs-test.html b/test/lhs-test.html
index c07c4f533..95fe40e19 100644
--- a/test/lhs-test.html
+++ b/test/lhs-test.html
@@ -8,6 +8,7 @@
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
diff --git a/test/lhs-test.html+lhs b/test/lhs-test.html+lhs
index a2d9bc324..0037cc83c 100644
--- a/test/lhs-test.html+lhs
+++ b/test/lhs-test.html+lhs
@@ -8,6 +8,7 @@
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
diff --git a/test/s5-basic.html b/test/s5-basic.html
index de4e19f73..f126ad1f4 100644
--- a/test/s5-basic.html
+++ b/test/s5-basic.html
@@ -13,6 +13,7 @@
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
diff --git a/test/s5-fancy.html b/test/s5-fancy.html
index 57ac6cac9..1befe4052 100644
--- a/test/s5-fancy.html
+++ b/test/s5-fancy.html
@@ -13,6 +13,7 @@
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
diff --git a/test/s5-inserts.html b/test/s5-inserts.html
index f21365c64..6779e5b76 100644
--- a/test/s5-inserts.html
+++ b/test/s5-inserts.html
@@ -11,6 +11,7 @@
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
diff --git a/test/writer.html4 b/test/writer.html4
index c002311b3..ef6d8df74 100644
--- a/test/writer.html4
+++ b/test/writer.html4
@@ -11,6 +11,7 @@
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
diff --git a/test/writer.html5 b/test/writer.html5
index e8e10f995..a2052e9ea 100644
--- a/test/writer.html5
+++ b/test/writer.html5
@@ -11,6 +11,7 @@
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
+ span.underline{text-decoration: underline;}
div.line-block{white-space: pre-line;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>