Repository URL to install this package:
|
Version:
2.6.6 ▾
|
ó
ÂöWc @@ sø d Z d d l m Z d d l m Z d d l m Z d d l m Z y@ d d l m Z d d l
m Z m Z d d
l
m Z e Z Wn e k
r e Z n Xd Z d e f d
YZ d e f d YZ d e f d YZ d Z d S( uÂ
CodeHilite Extension for Python-Markdown
========================================
Adds code/syntax highlighting to standard Python-Markdown code blocks.
See <https://pythonhosted.org/Markdown/extensions/code_hilite.html>
for documentation.
Original code Copyright 2006-2008 [Waylan Limberg](http://achinghead.com/).
All changes Copyright 2008-2014 The Python Markdown Project
License: [BSD](http://www.opensource.org/licenses/bsd-license.php)
i ( t absolute_import( t unicode_literalsi ( t Extensioni ( t
Treeprocessor( t highlight( t get_lexer_by_namet guess_lexer( t get_formatter_by_namec C@ s@ | s
g Sy t t t | j SWn t k
r; g SXd S( uÄ Support our syntax for emphasizing certain lines of code.
expr should be like '1 2' to emphasize lines 1 and 2 of a code block.
Returns a list of ints, the line numbers to emphasize.
N( t listt mapt intt splitt
ValueError( t expr( ( s<