Support » Fixing WordPress » How to display code

  • xhan

    (@xhan)


    how do you display code in a page?

    I’ve tried:
    <textarea> and I get </br> wherever theres a space in the writign on the page.

    <pre> and <cite> and neither show up!

    the domains http://www.emesis.net

    whats going wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark (podz)

    (@podz)

    Support Maven

    Which of the plugins / techniques you found when searching didn’t work ?

    m0n5t3r

    (@m0n5t3r)

    um, <code><pre> the_code</pre></code>? the_code should be html escaped, ofc; or you may drop <pre> and use nl2br…

    Ajay

    (@ajay)

    I think you will also need remember to use &lt; for < and &gt; for >

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to display code’ is closed to new replies.