2019-07-19 07:08:37 +02:00
|
|
|
````
|
|
|
|
% pandoc --id-prefix foo
|
|
|
|
```haskell
|
|
|
|
a
|
|
|
|
b
|
|
|
|
```
|
|
|
|
^D
|
2020-08-31 21:22:03 +02:00
|
|
|
<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>
|
2019-07-19 07:08:37 +02:00
|
|
|
````
|
|
|
|
|
|
|
|
````
|
|
|
|
% pandoc --id-prefix foo
|
|
|
|
``` {.haskell #bar}
|
|
|
|
a
|
|
|
|
b
|
|
|
|
```
|
|
|
|
^D
|
2020-08-31 21:22:03 +02:00
|
|
|
<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>
|
2019-07-19 07:08:37 +02:00
|
|
|
````
|
|
|
|
|