I know markdown implementations vary a bit, but all markdown exporters I’ve used convert
` (triple backticks) code block to <pre><code>. This seem to be true since <pre> tags don’t introduce <br> tags inside the code block, which is often desirable.
The problem is that I wan’t to use wp-markdown together with wp-highlight.js and that needs code blocks to be this way, with the <pre> tag.
If that isn’t desirable to all, maybe an option to choose between the two could be useful.
Thanks in advance.
- The topic ‘Code blocks error’ is closed to new replies.