• Resolved vmounts

    (@vmounts)


    Hi. I added a snippet to simplify adding code examples in my posts. I use the Google code prettify css to display code. The snippet was pretty simple

    <pre class="prettyprint"><code>
    {content}
    </code></pre>

    Unfortunately it appears that explicit line breaks,
    , are added after each line of the {content} so the code comes out with a bunch of extra line breaks when the post is displayed. It makes the code double-spaced so to speak.

    https://ww.wp.xz.cn/plugins/post-snippets/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Formatting off inside tags’ is closed to new replies.