how to write code into a blog post?

thebjorn BjornSteinarFjeldPettersen at gmail.com
Sat Nov 4 23:40:19 CET 2006


Jorge Vargas wrote:
> Hi I know many people here blog so sorry for the OT.
>
> Currently I have a wordpress install and went I wanted to post some
> code I notice how painfull it is.

Indeed :-)  I'm using the iG:Syntax Hiliter over on
http://blog.tkbe.org after I got some comments about the lack of
readability of my code samples ;-)  It can be even more colorful than
I've set it up, but it handles a considerable number of languages and
is pretty simple to both use and manage. You can get it at:
http://blog.igeek.info/wp-plugins/igsyntax-hiliter/  I added the
following to the end of the stylesheet to make the code frame bigger
and dynamic:

div.igBar { width: 95%; }
div.syntax_hilite { width:95%; }

hth,
-- bjorn




More information about the Python-list mailing list