From: Ian Stokes-R. <ijs...@cr...> - 2009-11-25 23:36:03
|
I have the latest version of python markdown and pygments installed, however I'm not getting any luck with the codehilite extension. pygmentize from the command line works fine, import pygments works from the Python interpreter, and otherwise markdown works fine both from the command line and from my mod_python apache httpd output filter. I have in my test file: :::python for a in list: b = 42 c = [1,2,3] c.sort() pass sys.exit() s1.xcfg: :::xml <simple1 foo="bar" zip="zap" /> and to render this I do in python (s is the string of the file): markdown.markdown(s, ['codehilite']) or: $ markdown -x codehilite xconfig.md In both cases it down't produce any pygments formatted output. I have also tried #!python. Any suggstions what I might be doing wrong? Thanks, Ian -- Ian Stokes-Rees W: http://sbgrid.org ijs...@cr... T: +1 617 432-5608 x75 SBGrid, Harvard Medical School F: +1 617 432-5600 |