def load_settings(self, renderer_options, global_setting):
        super(MarkdownRenderer, self).load_settings(renderer_options, global_setting)
        if 'extensions' in renderer_options:
            extensions = renderer_options['extensions']
        else:
            # Fallback to the default GFM style
            extensions = ['tables', 'strikeout', 'fenced_code', 'codehilite']
        extensions = set(extensions)
        if global_setting.mathjax_enabled:
            if 'mathjax' not in extensions:
                extensions.add('mathjax')
        if 'smartypants' in extensions:
            extensions.remove('smartypants')
            extensions.add('smarty')
        if 'codehilite' in extensions:
            extensions.remove('codehilite')
            extensions.add('codehilite(linenums=False,guess_lang=False)')
        self.extensions = list(extensions)
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/Renderers/MarkdownRenderer.py/MarkdownRenderer.load_settings/original