'Add Admonition to Markdown instance.'

def extendMarkdown(self, md, md_globals):

    md.registerExtension(self)
    md.parser.blockprocessors.add(u'admonition', AdmonitionProcessor(md.parser), u'_begin')
