Editor-View of correctly-formed Prism-code-blocks.

This is an example of what a code-block will look like in the Editor’s pretty view, if I include the attribute ‘class=”language-markup”‘ in the <code> tag, but not in the <pre> tag, as it was meant to be:


Line 1
Line 2
Line 3

This is an example of what I get, when I put the same attribute into the <pre> tag as well:


Line 1
Line 2
Line 3

However, in the publicly-viewable style, both examples display correctly.

Dirk

 

Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *

Please Prove You Are Not A Robot *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>