'ä¿å­ç­æ¡äžºHtmlææ¡£æmarkdownææ¡£.
:param str filepath: èŠä¿å­çæä»¶æåšçç®åœïŒ
:param str filename: èŠä¿å­çæä»¶åïŒ
äžå¡«åé»è®€äžº æåšé®é¢æ é¢ - ç­äž»å.html/mdã
**èªå®ä¹æä»¶åæ¶è¯·äžèŠèŸå¥åçŒ .html æ .mdã**
:param str mode: ä¿å­ç±»åïŒå¯é `html` ã `markdown` ã `md` ã
:return: æ 
:rtype: None'

def save(self, filepath=None, filename=None, mode='html'):

    if (mode not in ['html', 'md', 'markdown']):
        raise ValueError("`mode`    must    be    'html',    'markdown'    or    'md',    got    {0}".format(mode))
    file = get_path(filepath, filename, mode, self.question.title, ((self.question.title + '-') + self.author.name))
    with open(file, 'wb') as f:
        if (mode == 'html'):
            f.write(self.content.encode('utf-8'))
        else:
            import html2text
            h2t = html2text.HTML2Text()
            h2t.body_width = 0
            f.write(h2t.handle(self.content).encode('utf-8'))
