aboutsummaryrefslogtreecommitdiffstats
path: root/markdown_extensions/codehilite.py
Commit message (Collapse)AuthorAgeFilesLines
* Updated CodeHilite extension to work with recent refactor. Feels a little ↵Waylan Limberg2008-10-131-4/+4
| | | | hacky though.
* All sorts of cleanup.Yuri Takhteyev2008-10-071-1/+1
| | | | | | The bigger changes include getting rid of old BOM-removal logic and getting rid of BlockGuru. Most of the changes are just re-ordering of functions, removal of whitespace, adding comments, etc.
* [CodeHilite] Modified Sheband regex to match against language aliases ↵Waylan Limberg2008-09-181-4/+2
| | | | supported by Pygments which contain + or -. Thanks David A. Krauth.
* [CodeHilite] Fixed a little bug with the fallback when pygments is not ↵Waylan Limberg2008-09-171-1/+1
| | | | available. Thanks Artiom Diomin.
* [CodeHilite] Fixed Ticket 16. Added a 'css_class' option to codehilite ↵Waylan Limberg2008-09-031-11/+22
| | | | extension and cleaned up whitespace in code. Thanks Kjell Magne Fauske for the initial patch.
* 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