1.下載字體:https://github.com/beichensky/Fonthtml
#注意,要所有下載完,安裝,不然效果不全;git
2.配置。settings裏面增長github
"editor.fontLigatures": true, // 這個控制是否啓用字體連字 "editor.tokenColorCustomizations": { "textMateRules": [ { "name": "italic font", "scope": [ "comment", "keyword", "storage", "keyword.control.import", "keyword.control.default", "keyword.control.from", "keyword.operator.new", "keyword.control.export", "keyword.control.flow", "storage.type.class", "storage.type.function", "storage.type", "storage.type.class", "variable.language", "variable.language.super", "variable.language.this", "meta.class", "meta.var.expr", "constant.language.null", "support.type.primitive", "entity.name.method.js", "entity.other.attribute-name", "punctuation.definition.comment", "text.html.basic entity.other.attribute-name.html", "text.html.basic entity.other.attribute-name", "tag.decorator.js entity.name.tag.js", "tag.decorator.js punctuation.definition.tag.js", "source.js constant.other.object.key.js string.unquoted.label.js", ], "settings": { "fontStyle": "italic", } }, ] }, "terminal.integrated.fontFamily": "monospace",
文章參考:字體
https://blog.csdn.net/zgd826237710/article/details/94137781this