mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-30 17:59:17 +08:00
8a52ac1493
...by looking it up in the syntax map. (Previously we just used the first, excepting `sourceCode`.) Closes #11701 (together with previous commit).
10 lines
154 B
Markdown
10 lines
154 B
Markdown
````
|
|
% pandoc -f html -t gfm
|
|
<pre style="white-space: pre-wrap"><code class="hljs language-bash">echo hello
|
|
</code></pre>
|
|
^D
|
|
``` bash
|
|
echo hello
|
|
```
|
|
````
|