aboutsummaryrefslogtreecommitdiffstats
path: root/markdown_extensions/codehilite.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed ticket 12. Insert code placeholder into a wrapping ET element rather ↵Waylan Limberg2008-08-261-4/+3
| | | | than parent_elem.text as text will alway be at beginning of doc. The wrapping element is a <p> tag as, later, when the rawhtml is inserted, markdown will first check for the placeholder inside a <p> tag, and if the placeholder is the *only* content of the <p> tag, replace the entire <p> tag - not just the placeholder. Perhaps a little hacky, but this is how markdown works internally anyway.
* Fixed some weirdness with the CodeHilite ext and the fallback for when ↵Waylan Limberg2008-08-221-3/+2
| | | | pygments is not available. Not sure why, but the no-line-numbers option was commented out with a bug in it.
* renamed extension module and set import to extension module first, then ↵Waylan Limberg2008-08-111-0/+218
mdx_filename