add math snippet (#142697)

This commit is contained in:
heartacker 2022-02-16 09:41:24 +08:00 committed by GitHub
parent 079a688663
commit d7ca9f570f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,4 +84,22 @@
"body": "~~${1:${TM_SELECTED_TEXT}}~~",
"description": "Insert strikethrough"
},
"Insert inline math": {
"prefix": [
"inline math"
],
"body": "$${1:${TM_SELECTED_TEXT}}$",
"description": "Insert inline math"
},
"Insert fenced math": {
"prefix": [
"fenced math"
],
"body": [
"$$",
"${1:${TM_SELECTED_TEXT}}",
"$$"
],
"description": "Insert fenced math"
}
}