from __future__ import unicode_literals
from ..extensions import Extension

extensions = [
    'delete',
    'githubemoji',
    'magiclink',
    'tasklist',
    'headeranchor',
    'nl2br'
]


class GithubExtension(Extension):
    """Add various extensions to Markdown class"""

    def extendMarkdown(self, md, md_globals):
        """Register extension instances"""
        md.registerExtensions(extensions, self.config)


def makeExtension(configs={}):
    return GithubExtension(configs=dict(configs))

from __future__ import unicode_literals
from ..extensions import Extension

extensions = [
    'delete',
    'githubemoji',
    'magiclink',
    'tasklist',
    'headeranchor',
    'superfences',
    'nl2br'
]


class GithubExtension(Extension):
    """Add various extensions to Markdown class"""

    def extendMarkdown(self, md, md_globals):
        """Register extension instances"""
        md.registerExtensions(extensions, self.config)


def makeExtension(configs={}):
    return GithubExtension(configs=dict(configs))

Add superfences to github extension