Skip to content

Commit

Permalink
update pandoc
Browse files Browse the repository at this point in the history
  • Loading branch information
davidar committed Jan 8, 2019
1 parent 100e698 commit 864c4f6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ language: node_js
node_js:
- node
before_install:
- wget https://github.com/jgm/pandoc/releases/download/2.1.3/pandoc-2.1.3-1-amd64.deb
- wget https://github.com/jgm/pandoc/releases/download/2.5/pandoc-2.5-1-amd64.deb
- sudo dpkg -i pandoc-*.deb
20 changes: 9 additions & 11 deletions test/diff.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<style type="text/css">
a.sourceLine { display: inline-block; line-height: 1.25; }
a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
a.sourceLine:empty { height: 1.2em; position: absolute; }
a.sourceLine:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode { white-space: pre; position: relative; }
div.sourceCode { margin: 1em 0; }
Expand All @@ -27,13 +27,11 @@
a.sourceLine { text-indent: -1em; padding-left: 1em; }
}
pre.numberSource a.sourceLine
{ position: relative; }
pre.numberSource a.sourceLine:empty
{ position: absolute; }
{ position: relative; left: -4em; }
pre.numberSource a.sourceLine::before
{ content: attr(data-line-number);
position: absolute; left: -5em; text-align: right; vertical-align: baseline;
border: none; pointer-events: all;
{ content: attr(title);
position: relative; left: -1em; text-align: right; vertical-align: baseline;
border: none; pointer-events: all; display: inline-block;
-webkit-touch-callout: none; -webkit-user-select: none;
-khtml-user-select: none; -moz-user-select: none;
-ms-user-select: none; user-select: none;
Expand Down Expand Up @@ -697,10 +695,10 @@ <h1 id="oldnew-title"><del>Old</del><ins>New</ins> Title</h1>
<li>Lorem<del> ipsum</del> dolor sit amet</li>
</ol>
<p>I really love <em>italic <del>fonts</del><ins>font-styles</ins></em> <del>here.</del><ins>there.</ins></p>
<div class="sourceCode" id="cb1"><pre class="sourceCode diff"><code class="sourceCode diff"><a class="sourceLine" id="cb1-1" data-line-number="1"> print(&quot;Hello&quot;)</a>
<a class="sourceLine" id="cb1-2" data-line-number="2"><span class="st">-print(&quot;world.&quot;)</span></a>
<a class="sourceLine" id="cb1-3" data-line-number="3"><span class="va">+print(&quot;world!&quot;)</span></a>
<a class="sourceLine" id="cb1-4" data-line-number="4"> print(&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt&quot;)</a></code></pre></div>
<div class="sourceCode" id="cb1"><pre class="sourceCode diff"><code class="sourceCode diff"><a class="sourceLine" id="cb1-1" title="1"> print(&quot;Hello&quot;)</a>
<a class="sourceLine" id="cb1-2" title="2"><span class="st">-print(&quot;world.&quot;)</span></a>
<a class="sourceLine" id="cb1-3" title="3"><span class="va">+print(&quot;world!&quot;)</span></a>
<a class="sourceLine" id="cb1-4" title="4"> print(&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt&quot;)</a></code></pre></div>
<p>Don’t go around saying <del>to people that </del>the world owes you a living. The world owes you nothing. It was here first. <del>One</del><ins>Only one</ins> thing is impossible for God: To find<ins> any</ins> sense in any copyright law on the planet. Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities; Truth isn’t.</p>
</article>
</body>
Expand Down
1 change: 1 addition & 0 deletions test/diff.tex
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
\hypersetup{
colorlinks=true,
linkcolor=Maroon,
filecolor=Maroon,
citecolor=Blue,
urlcolor=Blue,
breaklinks=true}
Expand Down

0 comments on commit 864c4f6

Please sign in to comment.