3 \ @ s d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z dd l mZmZ dd l Z e jdZG dd d eZG dd deZG dd de ZdddZd S )a 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'])
Some text with an ABBR and a REF. Ignore REFERENCE and ref.
Copyright 2007-2008 * [Waylan Limberg](http://achinghead.com/) * [Seemant Kulleen](http://www.kulleen.org/) )absolute_import)unicode_literals ) Extension )Preprocessor)Pattern)etreeAtomicStringNz,[*]\[(?P[^\]]*)\][ ]?:\s*(?P