'Add HilitePostprocessor to Markdown instance.'

def extendMarkdown(self, md, md_globals):

    hiliter = HiliteTreeprocessor(md)
    hiliter.config = self.getConfigs()
    if (u'hilite' in md.treeprocessors):
        logger.warning(u"Replacing    existing    'hilite'    extension    -    please    remove    'codehilite'    from    WIKI_MARKDOWN_KWARGS")
        del md.treeprocessors[u'hilite']
    md.treeprocessors.add(u'hilite', hiliter, u'<inline')
    if (u'fenced_code_block' in md.preprocessors):
        logger.warning(u"Replacing    existing    'fenced_code_block'    extension    -    please    remove    'fenced_code_block'    or    'extras'    from    WIKI_MARKDOWN_KWARGS")
        del md.preprocessors[u'fenced_code_block']
    hiliter = WikiFencedBlockPreprocessor(md)
    hiliter.config = self.getConfigs()
    md.preprocessors.add(u'fenced_code_block', hiliter, u'>normalize_whitespace')
    md.registerExtension(self)
