Not sure if this is a problem with League\CommonMark or this module. In the former case is quite a remarkable missing feature for a markdown editor to not support code blocks.
Text like:
```
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
```
is converted to:
<`code>{<br>
"firstName": "John",<br>
"lastName": "Smith",<br>
"age": 25<br>
}<br>
<`/code>
(please note the additional <br>
placed at the bottom which breaks line height styling)
instead of:
<pre class="something"><code>{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
<`/code></pre>
Closed: works as designed
1.0
Code