showdown/test/functional/makehtml/cases/issues/#856.gfm-codeblock-with-language-with-spaces.html
Estevao Soares dos Santos 67114255ad fix(gfmCodeBlocks): allow the info string in gfmCodeBlocks to contain spaces
The line with the opening code fence may optionally contain some text following the code fence (the info string); this is trimmed of leading and trailing whitespace and can contain multiple words (but not newlines).

Closes #856
2022-02-24 01:22:11 +00:00

9 lines
151 B
HTML

<pre><code class="json language-json">{
"custom": true
}
</code></pre>
<pre><code class="json language-json">{
"custom": false
}
</code></pre>