'Set the core parser to an instance of MarkdownParser.'

def extendMarkdown(self, md, md_globals):

    md.parser = MarkdownParser()
    md.preprocessors.add('header', HeaderPreprocessor(self), '<reference')
    md.preprocessors.add('line', LinePreprocessor(self), '<reference')
