aboutsummaryrefslogtreecommitdiff
path: root/test/command/5650.md
blob: 1e96aeaa4c80df6970a4f4d9af3e34949eb54c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
````
% pandoc --id-prefix foo
```haskell
a
b
```
^D
<div class="sourceCode" id="foocb1"><pre class="sourceCode
haskell"><code class="sourceCode haskell"><span id="foocb1-1"><a href="#foocb1-1" aria-hidden="true" tabindex="-1"></a>a</span>
<span id="foocb1-2"><a href="#foocb1-2" aria-hidden="true" tabindex="-1"></a>b</span></code></pre></div>
````

````
% pandoc --id-prefix foo
``` {.haskell #bar}
a
b
```
^D
<div class="sourceCode" id="foobar"><pre class="sourceCode
haskell"><code class="sourceCode haskell"><span id="foobar-1"><a href="#foobar-1" aria-hidden="true" tabindex="-1"></a>a</span>
<span id="foobar-2"><a href="#foobar-2" aria-hidden="true" tabindex="-1"></a>b</span></code></pre></div>
````