[OT] "Code Friendly" Blog?

Ryan Ginstrom software at ginstrom.com
Thu Jan 17 20:55:21 EST 2008


> On Behalf Of Miki
> Posting code examples to blogger.com hosted blog is not fun 
> (need to remember alway escape < and >).
> Is there any free blog hosting that is more "code friendly" 
> (easy to post code snippets and such)?

I use WordPress with the Dean's Code Highlighter plugin[1] (which uses the
Geshi code highlighter).
You write your code like this:
<pre lang="python">
print "hello, world!"</pre>

You do need to escape angle brackets, though. You also have to turn off
WYSIWYG editing in WordPress, or it'll mess things up.

Here's an example of how it turns out:
http://ginstrom.com/scribbles/2007/11/17/fixing-jis-mojibake-with-python/

[1] http://www.deanlee.cn/wordpress/code_highlighter_plugin_for_wordpress/

Regards,
Ryan Ginstrom





More information about the Python-list mailing list