Open allejo opened 4 years ago
@allejo, it is an issue with CommonMark parser which need to be upgraded to version 28.1 compatibility.
Previous version treated ~~~
and ```
and interchangeable so the triple tilde is closed by the triple back ticks.
The only workaround for now is to use 4 or more tilde or back ticks on the outer code fence:
~~~~markdown
```php
<?php
echo someFunction();
`````
It is valid to nest to code blocks in markdown as such:
You can see how GitHub handles this below:
However, this breaks all parsing after these nested code blocks in this plugin.