vscode代码片段(html篇)
此篇用于创建html代码片段,代码如下:
“prefix”: “vh”,指的是你自定义的快捷代码,输入vh就会出现快速生成代码提示,也可以自定义其他字段。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| { "Html5-Vue": { "prefix": "vh", "body": [ "<!DOCTYPE html>", "<html lang=\"zh-CN\">\n", "<head>", "\t<meta charset=\"UTF-8\">", "\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">", "\t<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">", "\t<title>Document</title>", "</head>\n", "<body>", "\t<script>", "\t</script>", "</body>\n", "</html>" ] } }
|