git.iko.soy/typeable/pandoc
on master help sign in
Add partial styles.html in HTML5 template.

Avoid duplication in HTML templates by using styles.html partial. Change indentation of styles in template.

commitbb362fd76c94cb5228b06632c47993ee48cecac4 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 4 Sep 2019, 17:33 (7 years ago) parent75f6af5
18 files changed+179−241
cabal.project+5 data/templates/default.dzslides+1−12 data/templates/default.html4+1−12 data/templates/default.html5+1−12 data/templates/default.revealjs+1−12 data/templates/default.s5+1−12 data/templates/default.slideous+1−12 data/templates/default.slidy+1−12 data/templates/styles.html+11 pandoc.cabal+1 stack.yaml+3−1 test/lhs-test.html+66−68 test/lhs-test.html+lhs+66−68 test/s5-basic.html+4−4 test/s5-fancy.html+4−4 test/s5-inserts.html+4−4 test/writer.html4+4−4 test/writer.html5+4−4
cabal.project+5
@@ -12,3 +12,8 @@ source-repository-package
1212 type: git
1313 location: https://github.com/jgm/pandoc-citeproc
1414 tag: 63498fb22ae6f394f19f6d62312350b566c4aebd
15+
16+source-repository-package
17+ type: git
18+ location: https://github.com/jgm/doctemplates
19+ tag: 37ac859e3c88493ac62ce5f9e32a943d37529b98
data/templates/default.dzslides+1−12
@@ -13,19 +13,8 @@ $if(keywords)$
1313$endif$
1414 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
1515 <style>
16− code{white-space: pre-wrap;}
17− span.smallcaps{font-variant: small-caps;}
18− span.underline{text-decoration: underline;}
19− div.column{display: inline-block; vertical-align: top; width: 50%;}
20−$if(quotes)$
21− q { quotes: "“" "”" "‘" "’"; }
22−$endif$
23− </style>
24−$if(highlighting-css)$
25− <style>
26−$highlighting-css$
16+ $styles.html()$
2717 </style>
28−$endif$
2918$if(css)$
3019$for(css)$
3120 <link rel="stylesheet" href="$css$">
data/templates/default.html4+1−12
@@ -15,19 +15,8 @@ $if(keywords)$
1515$endif$
1616 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
1717 <style type="text/css">
18− code{white-space: pre-wrap;}
19− span.smallcaps{font-variant: small-caps;}
20− span.underline{text-decoration: underline;}
21− div.column{display: inline-block; vertical-align: top; width: 50%;}
22−$if(quotes)$
23− q { quotes: "“" "”" "‘" "’"; }
24−$endif$
25− </style>
26−$if(highlighting-css)$
27− <style type="text/css">
28−$highlighting-css$
18+ $styles.html()$
2919 </style>
30−$endif$
3120$for(css)$
3221 <link rel="stylesheet" href="$css$" type="text/css" />
3322$endfor$
data/templates/default.html5+1−12
@@ -15,19 +15,8 @@ $if(keywords)$
1515$endif$
1616 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
1717 <style>
18− code{white-space: pre-wrap;}
19− span.smallcaps{font-variant: small-caps;}
20− span.underline{text-decoration: underline;}
21− div.column{display: inline-block; vertical-align: top; width: 50%;}
22−$if(quotes)$
23− q { quotes: "“" "”" "‘" "’"; }
24−$endif$
25− </style>
26−$if(highlighting-css)$
27− <style>
28−$highlighting-css$
18+ $styles.html()$
2919 </style>
30−$endif$
3120$for(css)$
3221 <link rel="stylesheet" href="$css$" />
3322$endfor$
data/templates/default.revealjs+1−12
@@ -19,19 +19,8 @@ $endif$
1919 <link rel="stylesheet" href="$revealjs-url$/css/reset.css">
2020 <link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
2121 <style>
22− code{white-space: pre-wrap;}
23− span.smallcaps{font-variant: small-caps;}
24− span.underline{text-decoration: underline;}
25− div.column{display: inline-block; vertical-align: top; width: 50%;}
26−$if(quotes)$
27− q { quotes: "“" "”" "‘" "’"; }
28−$endif$
29− </style>
30−$if(highlighting-css)$
31− <style>
32−$highlighting-css$
22+ $styles.html()$
3323 </style>
34−$endif$
3524$if(theme)$
3625 <link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme">
3726$else$
data/templates/default.s5+1−12
@@ -16,22 +16,11 @@ $if(keywords)$
1616$endif$
1717 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
1818 <style type="text/css">
19− code{white-space: pre-wrap;}
20− span.smallcaps{font-variant: small-caps;}
21− span.underline{text-decoration: underline;}
22− div.column{display: inline-block; vertical-align: top; width: 50%;}
23−$if(quotes)$
24− q { quotes: "“" "”" "‘" "’"; }
25−$endif$
19+ $styles.html()$
2620 </style>
2721 <!-- configuration parameters -->
2822 <meta name="defaultView" content="slideshow" />
2923 <meta name="controlVis" content="hidden" />
30−$if(highlighting-css)$
31− <style type="text/css">
32−$highlighting-css$
33− </style>
34−$endif$
3524$for(css)$
3625 <link rel="stylesheet" href="$css$" type="text/css" />
3726$endfor$
data/templates/default.slideous+1−12
@@ -17,19 +17,8 @@ $if(keywords)$
1717$endif$
1818 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
1919 <style type="text/css">
20− code{white-space: pre-wrap;}
21− span.smallcaps{font-variant: small-caps;}
22− span.underline{text-decoration: underline;}
23− div.column{display: inline-block; vertical-align: top; width: 50%;}
24−$if(quotes)$
25− q { quotes: "“" "”" "‘" "’"; }
26−$endif$
27− </style>
28−$if(highlighting-css)$
29− <style type="text/css">
30−$highlighting-css$
20+ $styles.html()$
3121 </style>
32−$endif$
3322 <link rel="stylesheet" type="text/css" media="screen, projection, print"
3423 href="$slideous-url$/slideous.css" />
3524$for(css)$
data/templates/default.slidy+1−12
@@ -17,19 +17,8 @@ $if(keywords)$
1717$endif$
1818 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
1919 <style type="text/css">
20− code{white-space: pre-wrap;}
21− span.smallcaps{font-variant: small-caps;}
22− span.underline{text-decoration: underline;}
23− div.column{display: inline-block; vertical-align: top; width: 50%;}
24−$if(quotes)$
25− q { quotes: "“" "”" "‘" "’"; }
26−$endif$
27− </style>
28−$if(highlighting-css)$
29− <style type="text/css">
30−$highlighting-css$
20+ $styles.html()$
3121 </style>
32−$endif$
3322 <link rel="stylesheet" type="text/css" media="screen, projection, print"
3423 href="$slidy-url$/styles/slidy.css" />
3524$for(css)$
data/templates/styles.htmlnew file+11
@@ -0,0 +1,11 @@
1+code{white-space: pre-wrap;}
2+span.smallcaps{font-variant: small-caps;}
3+span.underline{text-decoration: underline;}
4+div.column{display: inline-block; vertical-align: top; width: 50%;}
5+$if(quotes)$
6+q { quotes: "“" "”" "‘" "’"; }
7+$endif$
8+$if(highlighting-css)$
9+$highlighting-css$
10+$endif$
11+
pandoc.cabal+1
@@ -41,6 +41,7 @@ description: Pandoc is a Haskell library for converting from one markup
4141 only adding a reader or writer.
4242data-files:
4343 -- templates
44+ data/templates/styles.html
4445 data/templates/default.html4
4546 data/templates/default.html5
4647 data/templates/default.docbook4
stack.yaml+3−1
@@ -14,6 +14,8 @@ extra-deps:
1414# - pandoc-citeproc-0.16.2
1515- git: https://github.com/jgm/pandoc-citeproc
1616 commit: 63498fb22ae6f394f19f6d62312350b566c4aebd
17+- git: https://github.com/jgm/doctemplates
18+ commit: 37ac859e3c88493ac62ce5f9e32a943d37529b98
1719- pandoc-types-1.17.6
1820- ipynb-0.1
1921- cmark-gfm-0.2.0
@@ -23,7 +25,7 @@ extra-deps:
2325- skylighting-core-0.8.2
2426- skylighting-0.8.2
2527- doclayout-0.1
26−- doctemplates-0.6
28+ #- doctemplates-0.6
2729ghc-options:
2830 "$locals": -fhide-source-paths -Wno-missing-home-modules
2931resolver: lts-13.17
test/lhs-test.html+66−68
@@ -6,74 +6,72 @@
66 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
77 <title>lhs-test</title>
88 <style>
9− code{white-space: pre-wrap;}
10− span.smallcaps{font-variant: small-caps;}
11− span.underline{text-decoration: underline;}
12− div.column{display: inline-block; vertical-align: top; width: 50%;}
13− </style>
14− <style>
15−pre > code.sourceCode { white-space: pre; position: relative; }
16−pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
17−pre > code.sourceCode > span:empty { height: 1.2em; }
18−code.sourceCode > span { color: inherit; text-decoration: inherit; }
19−div.sourceCode { margin: 1em 0; }
20−pre.sourceCode { margin: 0; }
21−@media screen {
22−div.sourceCode { overflow: auto; }
23−}
24−@media print {
25−pre > code.sourceCode { white-space: pre-wrap; }
26−pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
27−}
28−pre.numberSource code
29− { counter-reset: source-line 0; }
30−pre.numberSource code > span
31− { position: relative; left: -4em; counter-increment: source-line; }
32−pre.numberSource code > span > a:first-child::before
33− { content: counter(source-line);
34− position: relative; left: -1em; text-align: right; vertical-align: baseline;
35− border: none; display: inline-block;
36− -webkit-touch-callout: none; -webkit-user-select: none;
37− -khtml-user-select: none; -moz-user-select: none;
38− -ms-user-select: none; user-select: none;
39− padding: 0 4px; width: 4em;
40− color: #aaaaaa;
41− }
42−pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
43−div.sourceCode
44− { }
45−@media screen {
46−pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
47−}
48−code span.al { color: #ff0000; font-weight: bold; } /* Alert */
49−code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
50−code span.at { color: #7d9029; } /* Attribute */
51−code span.bn { color: #40a070; } /* BaseN */
52−code span.bu { } /* BuiltIn */
53−code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
54−code span.ch { color: #4070a0; } /* Char */
55−code span.cn { color: #880000; } /* Constant */
56−code span.co { color: #60a0b0; font-style: italic; } /* Comment */
57−code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
58−code span.do { color: #ba2121; font-style: italic; } /* Documentation */
59−code span.dt { color: #902000; } /* DataType */
60−code span.dv { color: #40a070; } /* DecVal */
61−code span.er { color: #ff0000; font-weight: bold; } /* Error */
62−code span.ex { } /* Extension */
63−code span.fl { color: #40a070; } /* Float */
64−code span.fu { color: #06287e; } /* Function */
65−code span.im { } /* Import */
66−code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
67−code span.kw { color: #007020; font-weight: bold; } /* Keyword */
68−code span.op { color: #666666; } /* Operator */
69−code span.ot { color: #007020; } /* Other */
70−code span.pp { color: #bc7a00; } /* Preprocessor */
71−code span.sc { color: #4070a0; } /* SpecialChar */
72−code span.ss { color: #bb6688; } /* SpecialString */
73−code span.st { color: #4070a0; } /* String */
74−code span.va { color: #19177c; } /* Variable */
75−code span.vs { color: #4070a0; } /* VerbatimString */
76−code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
9+ code{white-space: pre-wrap;}
10+ span.smallcaps{font-variant: small-caps;}
11+ span.underline{text-decoration: underline;}
12+ div.column{display: inline-block; vertical-align: top; width: 50%;}
13+ pre > code.sourceCode { white-space: pre; position: relative; }
14+ pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
15+ pre > code.sourceCode > span:empty { height: 1.2em; }
16+ code.sourceCode > span { color: inherit; text-decoration: inherit; }
17+ div.sourceCode { margin: 1em 0; }
18+ pre.sourceCode { margin: 0; }
19+ @media screen {
20+ div.sourceCode { overflow: auto; }
21+ }
22+ @media print {
23+ pre > code.sourceCode { white-space: pre-wrap; }
24+ pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
25+ }
26+ pre.numberSource code
27+ { counter-reset: source-line 0; }
28+ pre.numberSource code > span
29+ { position: relative; left: -4em; counter-increment: source-line; }
30+ pre.numberSource code > span > a:first-child::before
31+ { content: counter(source-line);
32+ position: relative; left: -1em; text-align: right; vertical-align: baseline;
33+ border: none; display: inline-block;
34+ -webkit-touch-callout: none; -webkit-user-select: none;
35+ -khtml-user-select: none; -moz-user-select: none;
36+ -ms-user-select: none; user-select: none;
37+ padding: 0 4px; width: 4em;
38+ color: #aaaaaa;
39+ }
40+ pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
41+ div.sourceCode
42+ { }
43+ @media screen {
44+ pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
45+ }
46+ code span.al { color: #ff0000; font-weight: bold; } /* Alert */
47+ code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
48+ code span.at { color: #7d9029; } /* Attribute */
49+ code span.bn { color: #40a070; } /* BaseN */
50+ code span.bu { } /* BuiltIn */
51+ code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
52+ code span.ch { color: #4070a0; } /* Char */
53+ code span.cn { color: #880000; } /* Constant */
54+ code span.co { color: #60a0b0; font-style: italic; } /* Comment */
55+ code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
56+ code span.do { color: #ba2121; font-style: italic; } /* Documentation */
57+ code span.dt { color: #902000; } /* DataType */
58+ code span.dv { color: #40a070; } /* DecVal */
59+ code span.er { color: #ff0000; font-weight: bold; } /* Error */
60+ code span.ex { } /* Extension */
61+ code span.fl { color: #40a070; } /* Float */
62+ code span.fu { color: #06287e; } /* Function */
63+ code span.im { } /* Import */
64+ code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
65+ code span.kw { color: #007020; font-weight: bold; } /* Keyword */
66+ code span.op { color: #666666; } /* Operator */
67+ code span.ot { color: #007020; } /* Other */
68+ code span.pp { color: #bc7a00; } /* Preprocessor */
69+ code span.sc { color: #4070a0; } /* SpecialChar */
70+ code span.ss { color: #bb6688; } /* SpecialString */
71+ code span.st { color: #4070a0; } /* String */
72+ code span.va { color: #19177c; } /* Variable */
73+ code span.vs { color: #4070a0; } /* VerbatimString */
74+ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
7775 </style>
7876 <!--[if lt IE 9]>
7977 <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
test/lhs-test.html+lhs+66−68
@@ -6,74 +6,72 @@
66 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
77 <title>lhs-test</title>
88 <style>
9− code{white-space: pre-wrap;}
10− span.smallcaps{font-variant: small-caps;}
11− span.underline{text-decoration: underline;}
12− div.column{display: inline-block; vertical-align: top; width: 50%;}
13− </style>
14− <style>
15−pre > code.sourceCode { white-space: pre; position: relative; }
16−pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
17−pre > code.sourceCode > span:empty { height: 1.2em; }
18−code.sourceCode > span { color: inherit; text-decoration: inherit; }
19−div.sourceCode { margin: 1em 0; }
20−pre.sourceCode { margin: 0; }
21−@media screen {
22−div.sourceCode { overflow: auto; }
23−}
24−@media print {
25−pre > code.sourceCode { white-space: pre-wrap; }
26−pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
27−}
28−pre.numberSource code
29− { counter-reset: source-line 0; }
30−pre.numberSource code > span
31− { position: relative; left: -4em; counter-increment: source-line; }
32−pre.numberSource code > span > a:first-child::before
33− { content: counter(source-line);
34− position: relative; left: -1em; text-align: right; vertical-align: baseline;
35− border: none; display: inline-block;
36− -webkit-touch-callout: none; -webkit-user-select: none;
37− -khtml-user-select: none; -moz-user-select: none;
38− -ms-user-select: none; user-select: none;
39− padding: 0 4px; width: 4em;
40− color: #aaaaaa;
41− }
42−pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
43−div.sourceCode
44− { }
45−@media screen {
46−pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
47−}
48−code span.al { color: #ff0000; font-weight: bold; } /* Alert */
49−code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
50−code span.at { color: #7d9029; } /* Attribute */
51−code span.bn { color: #40a070; } /* BaseN */
52−code span.bu { } /* BuiltIn */
53−code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
54−code span.ch { color: #4070a0; } /* Char */
55−code span.cn { color: #880000; } /* Constant */
56−code span.co { color: #60a0b0; font-style: italic; } /* Comment */
57−code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
58−code span.do { color: #ba2121; font-style: italic; } /* Documentation */
59−code span.dt { color: #902000; } /* DataType */
60−code span.dv { color: #40a070; } /* DecVal */
61−code span.er { color: #ff0000; font-weight: bold; } /* Error */
62−code span.ex { } /* Extension */
63−code span.fl { color: #40a070; } /* Float */
64−code span.fu { color: #06287e; } /* Function */
65−code span.im { } /* Import */
66−code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
67−code span.kw { color: #007020; font-weight: bold; } /* Keyword */
68−code span.op { color: #666666; } /* Operator */
69−code span.ot { color: #007020; } /* Other */
70−code span.pp { color: #bc7a00; } /* Preprocessor */
71−code span.sc { color: #4070a0; } /* SpecialChar */
72−code span.ss { color: #bb6688; } /* SpecialString */
73−code span.st { color: #4070a0; } /* String */
74−code span.va { color: #19177c; } /* Variable */
75−code span.vs { color: #4070a0; } /* VerbatimString */
76−code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
9+ code{white-space: pre-wrap;}
10+ span.smallcaps{font-variant: small-caps;}
11+ span.underline{text-decoration: underline;}
12+ div.column{display: inline-block; vertical-align: top; width: 50%;}
13+ pre > code.sourceCode { white-space: pre; position: relative; }
14+ pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
15+ pre > code.sourceCode > span:empty { height: 1.2em; }
16+ code.sourceCode > span { color: inherit; text-decoration: inherit; }
17+ div.sourceCode { margin: 1em 0; }
18+ pre.sourceCode { margin: 0; }
19+ @media screen {
20+ div.sourceCode { overflow: auto; }
21+ }
22+ @media print {
23+ pre > code.sourceCode { white-space: pre-wrap; }
24+ pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
25+ }
26+ pre.numberSource code
27+ { counter-reset: source-line 0; }
28+ pre.numberSource code > span
29+ { position: relative; left: -4em; counter-increment: source-line; }
30+ pre.numberSource code > span > a:first-child::before
31+ { content: counter(source-line);
32+ position: relative; left: -1em; text-align: right; vertical-align: baseline;
33+ border: none; display: inline-block;
34+ -webkit-touch-callout: none; -webkit-user-select: none;
35+ -khtml-user-select: none; -moz-user-select: none;
36+ -ms-user-select: none; user-select: none;
37+ padding: 0 4px; width: 4em;
38+ color: #aaaaaa;
39+ }
40+ pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
41+ div.sourceCode
42+ { }
43+ @media screen {
44+ pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
45+ }
46+ code span.al { color: #ff0000; font-weight: bold; } /* Alert */
47+ code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
48+ code span.at { color: #7d9029; } /* Attribute */
49+ code span.bn { color: #40a070; } /* BaseN */
50+ code span.bu { } /* BuiltIn */
51+ code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
52+ code span.ch { color: #4070a0; } /* Char */
53+ code span.cn { color: #880000; } /* Constant */
54+ code span.co { color: #60a0b0; font-style: italic; } /* Comment */
55+ code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
56+ code span.do { color: #ba2121; font-style: italic; } /* Documentation */
57+ code span.dt { color: #902000; } /* DataType */
58+ code span.dv { color: #40a070; } /* DecVal */
59+ code span.er { color: #ff0000; font-weight: bold; } /* Error */
60+ code span.ex { } /* Extension */
61+ code span.fl { color: #40a070; } /* Float */
62+ code span.fu { color: #06287e; } /* Function */
63+ code span.im { } /* Import */
64+ code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
65+ code span.kw { color: #007020; font-weight: bold; } /* Keyword */
66+ code span.op { color: #666666; } /* Operator */
67+ code span.ot { color: #007020; } /* Other */
68+ code span.pp { color: #bc7a00; } /* Preprocessor */
69+ code span.sc { color: #4070a0; } /* SpecialChar */
70+ code span.ss { color: #bb6688; } /* SpecialString */
71+ code span.st { color: #4070a0; } /* String */
72+ code span.va { color: #19177c; } /* Variable */
73+ code span.vs { color: #4070a0; } /* VerbatimString */
74+ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
7775 </style>
7876 <!--[if lt IE 9]>
7977 <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
test/s5-basic.html+4−4
@@ -11,10 +11,10 @@
1111 <meta name="date" content="2006-07-15" />
1212 <title>My S5 Document</title>
1313 <style type="text/css">
14− code{white-space: pre-wrap;}
15− span.smallcaps{font-variant: small-caps;}
16− span.underline{text-decoration: underline;}
17− div.column{display: inline-block; vertical-align: top; width: 50%;}
14+ code{white-space: pre-wrap;}
15+ span.smallcaps{font-variant: small-caps;}
16+ span.underline{text-decoration: underline;}
17+ div.column{display: inline-block; vertical-align: top; width: 50%;}
1818 </style>
1919 <!-- configuration parameters -->
2020 <meta name="defaultView" content="slideshow" />
test/s5-fancy.html+4−4
@@ -11,10 +11,10 @@
1111 <meta name="date" content="2006-07-15" />
1212 <title>My S5 Document</title>
1313 <style type="text/css">
14− code{white-space: pre-wrap;}
15− span.smallcaps{font-variant: small-caps;}
16− span.underline{text-decoration: underline;}
17− div.column{display: inline-block; vertical-align: top; width: 50%;}
14+ code{white-space: pre-wrap;}
15+ span.smallcaps{font-variant: small-caps;}
16+ span.underline{text-decoration: underline;}
17+ div.column{display: inline-block; vertical-align: top; width: 50%;}
1818 </style>
1919 <!-- configuration parameters -->
2020 <meta name="defaultView" content="slideshow" />
test/s5-inserts.html+4−4
@@ -9,10 +9,10 @@
99 <meta name="date" content="2006-07-15" />
1010 <title>My S5 Document</title>
1111 <style type="text/css">
12− code{white-space: pre-wrap;}
13− span.smallcaps{font-variant: small-caps;}
14− span.underline{text-decoration: underline;}
15− div.column{display: inline-block; vertical-align: top; width: 50%;}
12+ code{white-space: pre-wrap;}
13+ span.smallcaps{font-variant: small-caps;}
14+ span.underline{text-decoration: underline;}
15+ div.column{display: inline-block; vertical-align: top; width: 50%;}
1616 </style>
1717 <link rel="stylesheet" href="main.css" type="text/css" />
1818 STUFF INSERTED
test/writer.html4+4−4
@@ -9,10 +9,10 @@
99 <meta name="date" content="2006-07-17" />
1010 <title>Pandoc Test Suite</title>
1111 <style type="text/css">
12− code{white-space: pre-wrap;}
13− span.smallcaps{font-variant: small-caps;}
14− span.underline{text-decoration: underline;}
15− div.column{display: inline-block; vertical-align: top; width: 50%;}
12+ code{white-space: pre-wrap;}
13+ span.smallcaps{font-variant: small-caps;}
14+ span.underline{text-decoration: underline;}
15+ div.column{display: inline-block; vertical-align: top; width: 50%;}
1616 </style>
1717</head>
1818<body>
test/writer.html5+4−4
@@ -9,10 +9,10 @@
99 <meta name="dcterms.date" content="2006-07-17" />
1010 <title>Pandoc Test Suite</title>
1111 <style>
12− code{white-space: pre-wrap;}
13− span.smallcaps{font-variant: small-caps;}
14− span.underline{text-decoration: underline;}
15− div.column{display: inline-block; vertical-align: top; width: 50%;}
12+ code{white-space: pre-wrap;}
13+ span.smallcaps{font-variant: small-caps;}
14+ span.underline{text-decoration: underline;}
15+ div.column{display: inline-block; vertical-align: top; width: 50%;}
1616 </style>
1717 <!--[if lt IE 9]>
1818 <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>