# 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.