• Nice plugin as it shows the code in the visual editor. However, it only works for 1-line blocks of code; if you have a block of code of n lines, it will produce n blocks of 1 line of code each.

Viewing 1 replies (of 1 total)
  • It does exactly what it is designed for, namely wrap marked text with a code tag. Marking multiple lines as code is not it’s task. Therefore you want to use the “preformatted” format from the headlines dropdown. That will render a pre tag. Semantically best practice for a “code sample paragraph” is to use a preformatted paragraph and code command button. Result:

    <pre><code>...</code></pre>

Viewing 1 replies (of 1 total)
  • The topic ‘Only for 1-line blocks of code’ is closed to new replies.