{
"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": ""
}
}
网友评论