def inline_link(
            self,
            text,
            url):
        """*generate a MMD sytle link*

        **Key Arguments:**
            - ``text`` -- the text to link from
            - ``url`` -- the url to link to

        **Return:**
            - ``text`` -- the linked text

        **Usage:**

            To convert a text and url to MMD link:

            .. code-block:: python

                text = md.inline_link(
                    "  google search engine  ", "  http://www.google.com ")
                print text

                # OUTPUT:
                #   [google search engine](http://www.google.com)
        """
        m = self.reWS.match(text)

        prefix = m.group(1)
        text = m.group(2)
        suffix = m.group(3)
        url = url.strip()

        return "%(prefix)s[%(text)s](%(url)s)%(suffix)s" % locals()
def inline_link ( self , text , url ) : m = self . reWS . match ( text ) prefix = m . group ( 1 ) text = m . group ( 2 ) suffix = m . group ( 3 ) url = url . strip ( ) return "%(prefix)s[%(text)s](%(url)s)%(suffix)s" % locals ( )
*generate a MMD sytle link*

        **Key Arguments:**
            - ``text`` -- the text to link from
            - ``url`` -- the url to link to

        **Return:**
            - ``text`` -- the linked text

        **Usage:**

            To convert a text and url to MMD link:

            .. code-block:: python

                text = md.inline_link(
                    "  google search engine  ", "  http://www.google.com ")
                print text

                # OUTPUT:
                #   [google search engine](http://www.google.com)