def extendMarkdown(self, md, md_globals):
        md.inlinePatterns.add('superscript', SimpleTagPattern(SUPERSCRIPT_RE, 'sup'), '<not_strong')
Replace superscript with SuperscriptPattern
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/Renderers/libs/mdx_superscript.py/SuperscriptExtension.extendMarkdown