(self, md, md_globals)
Add HilitePostprocessor to Markdown instance.
Add HilitePostprocessor to Markdown instance.
Add HilitePostprocessor to Markdown instance .
def extendMarkdown(self, md, md_globals):
        """ Add HilitePostprocessor to Markdown instance. """
        hiliter = HiliteTreeprocessor(md)
        hiliter.config = self.getConfigs()
        md.treeprocessors.add("hilite", hiliter, "<inline")

        md.registerExtension(self)
def extendMarkdown ( self , md , md_globals ) : hiliter = HiliteTreeprocessor ( md ) hiliter . config = self . getConfigs ( ) md . treeprocessors . add ( "hilite" , hiliter , "<inline" ) md . registerExtension ( self )