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