{
"a标签": {
"prefix": "aaa",
"body": [
"<a href=\"javascript:;\">$1</a>"
],
"description": "我自己定义的a标签"
},
"理想视口标签": {
"prefix": "meta:vp",
"body": [
"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no\">"
],
"description": "理想视口的标准写法"
},
"多了一个div": {
"prefix": "qdsq",
"body": [
"<!DOCTYPE html> <html lang=\"en\"> <head> <meta charset=\"UTF-8\"> <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no\"> <title>$TM_FILENAME</title> <style> div:nth-child(1) { width: 200px; height: 200px; background-color: aqua; margin: 100px auto; } </style> </head> <body> <div></div> <script> var div=document.querySelector(\"div\"); </script></body> </html>"
],
"description": "多了一个div"
},
"li标签嵌套a标签嵌套图片标签": {
"prefix": "liai",
"body": [
" (li>a[href=\"javascript:;\"]>img[src])"
],
"description": "li>a>img"
}
,
"生成jq标签": {
"prefix": "sq",
"body": [
" <script src=\"https://cdn.staticfile.org/jquery/1.2.3/jquery.js\"></script>"
],
"description": ""
},"Vue": {
"prefix": "vue",
"body": [
"<!DOCTYPE html>",
"<html lang=\"en\">",
"\t<head>",
"\t\t<title>$1</title>",
"\t\t<meta charset=\"UTF-8\">",
"\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">",
"\t\t<script src=\"./vue2.js\"></script>",
"\t</head>",
"\t<body>",
"\t\t<div id=\"app\"></div>",
"\t\t<script>",
"\t\t\tvar vm = new Vue({",
"\t\t\t\tel: '#app',",
"\t\t\t\tdata: {",
"",
"\t\t\t\t}",
"\t\t\t})",
"\t\t</script>",
"\t</body>",
"</html>"
],
"description": "vue - Defines a template for a vue & html5 document"
}
}
网友评论