Files
John MacFarlane 8a52ac1493 Markdown writer: improve identification of code language class...
...by looking it up in the syntax map. (Previously we just used
the first, excepting `sourceCode`.)

Closes #11701 (together with previous commit).
2026-06-12 21:01:25 +02:00

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
```