WEB best way to display source code on a blog?

Discussion in 'OT Technology' started by BoostedBoogie, Apr 10, 2008.

  1. i don't plan on using drupal or wordpress, but <a href="http://www.textpattern.com"/>textpattern.</a> it's going to be more of a design/coding/flash/actionscript kind of blog and will have a bunch of source code examples on there for flash and actionscript. but because i'm not going to use drupal or wordpress, i won't have access to any modules that will allow me to display source code on there cleanly.

    any suggestions?
     
  2. Limp_Brisket

    Limp_Brisket New Member

    Joined:
    Jan 2, 2006
    Messages:
    48,422
    Likes Received:
    0
    Location:
    Utah
    <pre></pre>

    edit - if you're displaying XHTML source code or something with <'s or >'s you'll have to replace them with &gt; and &lt;
     
  3. biawokauns

    biawokauns New Member

    Joined:
    Sep 18, 2001
    Messages:
    19,893
    Likes Received:
    0
    Location:
    Republic of Kalifornia
    pre ftw
     
  4. Logik

    Logik Livin la vida broka

    Joined:
    Jun 30, 2000
    Messages:
    20,667
    Likes Received:
    1
    Location:
    The Steel City
    i believe Wordpress supports <code></code> tags... there are also plugins for PHP code et al.
     
  5. didn't know about that tag, i'll give those a try thanks
     

Share This Page