coq_install_ice_ng.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:coquery 作者: gkunter 项目源码 文件源码
def get_tag_translate(self, tag):
        translate_dict = {
            "p": "p",
            "punctuation": "",
            "heading": "span style='font-style: bold'",
            #"heading": "span style='font-style: bold; font-size:150%'",
            #"h1": "span style='font-style: bold; font-size:150%'",
            "boldface": "b",
            "italics": "i",
            "underline": "u",
            "superscript": "sup",
            "subscript": "sup",
            "object": "object",
            "text": "html"}

        if tag in translate_dict:
            return translate_dict[tag]
        else:
            print("unsupported tag: ", tag)
            return tag
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号