Use Python-Markdown instead of cMarkdown.
squash
squash
squash
Reimplement line-highlighting with Python-Markdown.