Title=Coding Example Created=2011-05-02 Categories=coding Tags=python,html -----#####----- so let us look at syntax highlighting and see what will happen after I added pygments
import markdown2
from pygments.lexers import guess_lexer
from pygments import highlight
from pygments.lexers import get_lexer_by_name
from pygments.formatters import HtmlFormatter
import config
def markup(content):
'''run content through pygments and markdown'''
content = markdown2.markdown(content)
return content
and we will see fantastic results!