(self, line)
return plain_line, link
Parse the line which has awesome link, title or description
Parse the line which has awesome link, title or description
Parse the line which has awesome link title or description
def parse_link_line(self, line):
        """Parse the line which has awesome link, title or description"""
        name, link, desc = self._markdown_link_line_regex.findall(line)[0]
        if desc:
            plain_line = '[{}] - {}'.format(name, desc)
        else:
            plain_line = '[{}]'.format(name)
        return plain_line, link
def parse_link_line ( self , line ) : name , link , desc = self . _markdown_link_line_regex . findall ( line ) [ 0 ] if desc : plain_line = '[{}] - {}' . format ( name , desc ) else : plain_line = '[{}]' . format ( name ) return plain_line , link