diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-05-12 13:51:48 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-05-12 14:37:07 -0700 |
commit | 46179d5b3e84b5c709e09924cbda524230ebd3fe (patch) | |
tree | 0f3da4bc4f2a0e508f8608ec3ab1e0b73e18c42b /test/lhs-test.html+lhs | |
parent | 9c76c52e9bb1481234b8ee5ef9c524a5a61d43bd (diff) | |
download | pandoc-46179d5b3e84b5c709e09924cbda524230ebd3fe.tar.gz |
Use latest skylighting.
This adds `aria-hidden="true"` to the empty a elements, which
helps people who use screen readers.
Diffstat (limited to 'test/lhs-test.html+lhs')
-rw-r--r-- | test/lhs-test.html+lhs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lhs-test.html+lhs b/test/lhs-test.html+lhs index 0ada9fac8..22f807e17 100644 --- a/test/lhs-test.html+lhs +++ b/test/lhs-test.html+lhs @@ -83,9 +83,9 @@ <h1 id="lhs-test">lhs test</h1> <p><code>unsplit</code> is an arrow that takes a pair of values and combines them to return a single value:</p> -<div class="sourceCode" id="cb1"><pre class="sourceCode literatehaskell literate"><code class="sourceCode literatehaskell"><span id="cb1-1"><a href="#cb1-1"></a><span class="ot">> unsplit ::</span> (<span class="dt">Arrow</span> a) <span class="ot">=></span> (b <span class="ot">-></span> c <span class="ot">-></span> d) <span class="ot">-></span> a (b, c) d</span> -<span id="cb1-2"><a href="#cb1-2"></a><span class="ot">></span> unsplit <span class="ot">=</span> arr <span class="op">.</span> <span class="fu">uncurry</span></span> -<span id="cb1-3"><a href="#cb1-3"></a><span class="ot">></span> <span class="co">-- arr (\op (x,y) -> x `op` y)</span></span></code></pre></div> +<div class="sourceCode" id="cb1"><pre class="sourceCode literatehaskell literate"><code class="sourceCode literatehaskell"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true"></a><span class="ot">> unsplit ::</span> (<span class="dt">Arrow</span> a) <span class="ot">=></span> (b <span class="ot">-></span> c <span class="ot">-></span> d) <span class="ot">-></span> a (b, c) d</span> +<span id="cb1-2"><a href="#cb1-2" aria-hidden="true"></a><span class="ot">></span> unsplit <span class="ot">=</span> arr <span class="op">.</span> <span class="fu">uncurry</span></span> +<span id="cb1-3"><a href="#cb1-3" aria-hidden="true"></a><span class="ot">></span> <span class="co">-- arr (\op (x,y) -> x `op` y)</span></span></code></pre></div> <p><code>(***)</code> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p> |