Re: showing source code in blog posts

seanh <[email protected]> Mon, 1 Nov 2010 19:53:53 +0000
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <20101101195353.GH10863@kisimul>
On Sun, Oct 31, 2010 at 11:08:15PM +0100, Dieter Plaetinck wrote:
> Hi all,
> is anyone showing source in pyblosxom blog posts?

My Python Markdown 2 plugin can do source code highlighting if you have
python pygments. It's another plugin that isn't in the plugin registry:

http://github.com/seanh/PyBlosxom-Python-Markdown-2-Plugin

See the Python Markdown 2 instructions for how to use source code
highlighting:

http://www.freewisdom.org/projects/python-markdown/CodeHilite

You will have to edit line 35 of markdown-plugin.py to enable the
codehilite extension.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev