aas

{
  // 语法参考: https://code.visualstudio.com/docs/editor/userdefinedsnippets
  "绿色字体": {
    "prefix": "f-g",
    "body": ["<font color=green>${TM_SELECTED_TEXT:0}</font>"]
  },
  "红色字体": {
    "prefix": "f-r",
    "body": ["<font color=red>$0</font>"]
  },
  "黄色字体": {
    "prefix": "f-y",
    "body": ["<font color=yellow>$0</font>"]
  },
  "蓝色字体": {
    "prefix": "f-b",
    "body": ["<font color=blue>$0</font>"]
  },
  "高亮提示": {
    "prefix": "hl",
    "body": [
      "<span style=\"background-color:${1|#2e74ff1a ,#00a6691a ,#ff8d191a|} ;font-size:14px; color:${2|#2e74ff,#00a669,#ff8d19|}; padding:6px;border-radius:5px;\">${3:文本}</span>"
    ],
    "description": "高亮提示"
  },
  "错误提示": {
    "prefix": "error",
    "body": [
      "<span style=\"background-color:#f32000 ;font-size:14px; color:#fbfbfb; padding:6px;border-radius:5px;\">${1:文本}</span>"
    ],
    "description": "高亮提示"
  },
  "横线": {
    "prefix": "ll",
    "body": ["<hr/>"]
  },
  "块1": {
    "prefix": "块",
    "body": ["`$0`"]
  },
  "块2": {
    "prefix": "bb",
    "body": ["> $0"]
  },
  "块3": {
    "prefix": "b2",
    "body": ["> > $0"]
  },
  "链接🔗": {
    "prefix": "src",
    "body": ["[$0]($0)"]
  },
  "图片": {
    "prefix": "img",
    "body": ["![img]($0)"]
  },
  "html代码块": {
    "prefix": "html",
    "body": ["```html", " $0", "```"]
  },
  "js代码块": {
    "prefix": "js",
    "body": ["```js", " $0", "```"]
  },
  "json代码块": {
    "prefix": "json",
    "body": ["```json", " $0", "```"]
  },
  "java代码块": {
    "prefix": "java",
    "body": ["```java", " $0", "```"]
  },
  "python代码块": {
    "prefix": "py",
    "body": ["```python", " $0", "```"]
  },
  "bash代码块": {
    "prefix": "bash",
    "body": ["```bash", " $0", "```"]
  },
  "center": {
    "prefix": "center",
    "body": ["<center>$0</center>"]
  },
  "标题": {
    "prefix": "main",
    "body": ["## <center>$0</center>"]
  },
  "一级列表": {
    "prefix": "l1",
    "body": ["- 1.$0", "- 2.", "- 3."],
    "description": "一级列表"
  },
  "二级列表": {
    "prefix": "l2",
    "body": [
      "- 1、$0",
      "   - 1.1",
      "   - 1.2",
      "   - 1.3",
      "- 2、",
      "   - 2.1",
      "   - 2.2",
      "   - 2.3",
      "- 3、",
      "   - 3.1",
      "   - 3.2",
      "   - 3.3"
    ],
    "description": "二级列表"
  },
  "三级列表": {
    "prefix": "l3",
    "body": [
      "- 1、$0",
      "   - 1.1",
      "       - 1.1.1",
      "       - 1.1.2",
      "   - 1.2",
      "       - 1.2.1",
      "       - 1.2.2",
      "   - 1.3",
      "       - 1.3.1",
      "       - 1.3.2",
      "- 2、",
      "   - 2.1",
      "       - 2.1.1",
      "       - 2.1.2",
      "   - 2.2",
      "       - 2.2.1",
      "       - 2.2.2",
      "   - 2.3",
      "       - 2.3.1",
      "       - 2.3.2",
      "- 3、",
      "   - 3.1",
      "       - 3.1.1",
      "       - 3.1.2",
      "   - 3.2",
      "       - 3.2.1",
      "       - 3.2.2",
      "   - 3.3",
      "       - 3.3.1",
      "       - 3.3.2"
    ],
    "description": "三级列表"
  },
  "四级列表": {
    "prefix": "l4",
    "body": [
      "- 1、$0",
      "   - 1.1",
      "       - 1.1.1",
      "           - 1.1.1.1",
      "           - 1.1.1.2",
      "       - 1.1.2",
      "           - 1.1.2.1",
      "           - 1.1.2.2",
      "   - 1.2",
      "       - 1.2.1",
      "           - 1.2.1.1",
      "           - 1.2.1.2",
      "       - 1.2.2",
      "           - 1.2.2.1",
      "           - 1.2.2.2",
      "   - 1.3",
      "       - 1.3.1",
      "           - 1.3.1.1",
      "           - 1.3.1.2",
      "       - 1.3.2",
      "           - 1.3.2.1",
      "           - 1.3.2.2",
      "- 2、",
      "   - 2.1",
      "       - 2.1.1",
      "           - 2.1.1.1",
      "           - 2.1.1.2",
      "       - 2.1.2",
      "           - 2.1.2.1",
      "           - 2.1.2.2",
      "   - 2.2",
      "       - 2.2.1",
      "           - 2.2.1.1",
      "           - 2.2.1.2",
      "       - 2.2.2",
      "           - 2.2.2.1",
      "           - 2.2.2.2",
      "   - 2.3",
      "       - 2.3.1",
      "           - 2.3.1.1",
      "           - 2.3.1.2",
      "       - 2.3.2",
      "           - 2.3.2.1",
      "           - 2.3.2.2",
      "- 3、",
      "   - 3.1",
      "       - 3.1.1",
      "           - 3.1.1.1",
      "           - 3.1.1.2",
      "       - 3.1.2",
      "           - 3.1.2.1",
      "           - 3.1.2.2",
      "   - 3.2",
      "       - 3.2.1",
      "           - 3.2.1.1",
      "           - 3.2.1.2",
      "       - 3.2.2",
      "           - 3.2.2.1",
      "           - 3.2.2.2",
      "   - 3.3",
      "       - 3.3.1",
      "           - 3.3.1.1",
      "           - 3.3.1.2"
    ]
  }
}

  

posted @ 2024-03-29 16:56  郭杰前端开发  阅读(1)  评论(1编辑  收藏  举报
## 希望内容对你有帮助,如果有错误请联系我 q: 1911509826,感谢支持