Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
markdown
/
extensions
/
File Content:
abbr.pyc
� �(�Sc @@ s� d Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z d d l Z e j d � Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d d � Z d S( u� Abbreviation Extension for Python-Markdown ========================================== This extension adds abbreviation handling to Python-Markdown. Simple Usage: >>> import markdown >>> text = """ ... Some text with an ABBR and a REF. Ignore REFERENCE and ref. ... ... *[ABBR]: Abbreviation ... *[REF]: Abbreviation Reference ... """ >>> print markdown.markdown(text, ['abbr']) <p>Some text with an <abbr title="Abbreviation">ABBR</abbr> and a <abbr title="Abbreviation Reference">REF</abbr>. Ignore REFERENCE and ref.</p> Copyright 2007-2008 * [Waylan Limberg](http://achinghead.com/) * [Seemant Kulleen](http://www.kulleen.org/) i ( t absolute_import( t unicode_literalsi ( t Extensioni ( t Preprocessor( t Pattern( t etreet AtomicStringNu, [*]\[(?P<abbr>[^\]]*)\][ ]?:\s*(?P<title>.*)t AbbrExtensionc B@ s e Z d Z d � Z RS( u- Abbreviation Extension for Python-Markdown. c C@ s | j j d t | � d � d S( u7 Insert AbbrPreprocessor before ReferencePreprocessor. u abbru <referenceN( t preprocessorst addt AbbrPreprocessor( t selft mdt md_globals( ( s<