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