Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def extendMarkdown(self, md, md_globals):
""" Setup `mention_link` with MentionPattern """
md.inlinePatterns['mention_link'] = MentionPattern(MENTION_RE, md)