(self, extensions, configs)
return self
Register extensions with this instance of Markdown.

        Keyword arguments:

        * extensions: A list of extensions, which can either
           be strings or objects.  See the docstring on Markdown.
        * configs: A dictionary mapping module names to config options.
Register extensions with this instance of Markdown.
Register extensions with this instance of Markdown .
def registerExtensions(self, extensions, configs):
        """
        Register extensions with this instance of Markdown.

        Keyword arguments:

        * extensions: A list of extensions, which can either
           be strings or objects.  See the docstring on Markdown.
        * configs: A dictionary mapping module names to config options.

        """
        for ext in extensions:
            if isinstance(ext, basestring):
                ext = self.build_extension(ext, configs.get(ext, []))
            if isinstance(ext, Extension):
                # might raise NotImplementedError, but that's the extension author's problem
                ext.extendMarkdown(self, globals())
            elif ext is not None:
                raise ValueError('Extension "%s.%s" must be of type: "markdown.Extension".' \
                    % (ext.__class__.__module__, ext.__class__.__name__))

        return self
def registerExtensions ( self , extensions , configs ) : for ext in extensions : if isinstance ( ext , basestring ) : ext = self . build_extension ( ext , configs . get ( ext , [ ] ) ) if isinstance ( ext , Extension ) : # might raise NotImplementedError, but that's the extension author's problem ext . extendMarkdown ( self , globals ( ) ) elif ext is not None : raise ValueError ( 'Extension "%s.%s" must be of type: "markdown.Extension".' % ( ext . __class__ . __module__ , ext . __class__ . __name__ ) ) return self