git.iko.soy/typeable/pandoc
on master help sign in
Update test for new skylighting.
commit968d2046a3cb6db661673be580660ac402753c34 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 14 Jul 2019, 10:48 (7 years ago) parent25939c0
2 files changed+12−14
test/lhs-test.html+6−7 test/lhs-test.html+lhs+6−7
test/lhs-test.html+6−7
@@ -12,19 +12,18 @@
1212 div.column{display: inline-block; vertical-align: top; width: 50%;}
1313 </style>
1414 <style>
15−code.sourceCode > span { display: inline-block; line-height: 1.25; }
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; }
1618code.sourceCode > span { color: inherit; text-decoration: inherit; }
17−code.sourceCode > span:empty { height: 1.2em; }
18−.sourceCode { overflow: visible; }
19−code.sourceCode { white-space: pre; position: relative; }
2019div.sourceCode { margin: 1em 0; }
2120pre.sourceCode { margin: 0; }
2221@media screen {
2322div.sourceCode { overflow: auto; }
2423}
2524@media print {
26−code.sourceCode { white-space: pre-wrap; }
27−code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
25+pre > code.sourceCode { white-space: pre-wrap; }
26+pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
2827}
2928pre.numberSource code
3029 { counter-reset: source-line 0; }
@@ -44,7 +43,7 @@ pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-le
4443div.sourceCode
4544 { }
4645@media screen {
47−code.sourceCode > span > a:first-child::before { text-decoration: underline; }
46+pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
4847}
4948code span.al { color: #ff0000; font-weight: bold; } /* Alert */
5049code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
test/lhs-test.html+lhs+6−7
@@ -12,19 +12,18 @@
1212 div.column{display: inline-block; vertical-align: top; width: 50%;}
1313 </style>
1414 <style>
15−code.sourceCode > span { display: inline-block; line-height: 1.25; }
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; }
1618code.sourceCode > span { color: inherit; text-decoration: inherit; }
17−code.sourceCode > span:empty { height: 1.2em; }
18−.sourceCode { overflow: visible; }
19−code.sourceCode { white-space: pre; position: relative; }
2019div.sourceCode { margin: 1em 0; }
2120pre.sourceCode { margin: 0; }
2221@media screen {
2322div.sourceCode { overflow: auto; }
2423}
2524@media print {
26−code.sourceCode { white-space: pre-wrap; }
27−code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
25+pre > code.sourceCode { white-space: pre-wrap; }
26+pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
2827}
2928pre.numberSource code
3029 { counter-reset: source-line 0; }
@@ -44,7 +43,7 @@ pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-le
4443div.sourceCode
4544 { }
4645@media screen {
47−code.sourceCode > span > a:first-child::before { text-decoration: underline; }
46+pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
4847}
4948code span.al { color: #ff0000; font-weight: bold; } /* Alert */
5049code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */