mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
134 lines
3.3 KiB
JSON
134 lines
3.3 KiB
JSON
{
|
|
"Misc": {
|
|
"body": "Miscellaneous",
|
|
"prefix": "Misc"
|
|
},
|
|
"bash (Codeblock)": {
|
|
"body": [
|
|
"```bash",
|
|
"$CLIPBOARD$0",
|
|
"```"
|
|
],
|
|
"prefix": "bash (Codeblock)"
|
|
},
|
|
"caution (callout)": {
|
|
"body": [
|
|
"> [!CAUTION]",
|
|
"> $0"
|
|
],
|
|
"description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts",
|
|
"prefix": "caution (callout)"
|
|
},
|
|
"details & summary": {
|
|
"body": [
|
|
"<details>",
|
|
"<summary>${1:Text}</summary>",
|
|
"$0",
|
|
"</details>"
|
|
],
|
|
"description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details",
|
|
"prefix": [
|
|
"toggle / fold",
|
|
"details & summary"
|
|
]
|
|
},
|
|
"ignore file (ltex)": {
|
|
"body": "<!-- LTeX: enabled=false -->",
|
|
"prefix": "ignore file (ltex)"
|
|
},
|
|
"image": {
|
|
"body": "<img src=\"${1:image_path}\" alt=\"${2:alt text}\" width=\"${3:50%}\">",
|
|
"description": "HTML syntax for images used to display images with reduced size",
|
|
"prefix": "image"
|
|
},
|
|
"important (callout)": {
|
|
"body": [
|
|
"> [!IMPORTANT]",
|
|
"> $0"
|
|
],
|
|
"description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts",
|
|
"prefix": "important (callout)"
|
|
},
|
|
"insert table 2x2": {
|
|
"body": [
|
|
"| ${1:Column1} | ${2:Column2} |",
|
|
"|--------------- | -------------- |",
|
|
"| ${3:Item1.1} | ${4:Item2.1} |"
|
|
],
|
|
"prefix": "table (2x2)"
|
|
},
|
|
"insert toc": {
|
|
"body": [
|
|
"## Table of Content",
|
|
"",
|
|
"<!-- toc -->"
|
|
],
|
|
"description": "https://github.com/jonschlinkert/markdown-toc#tocinsert",
|
|
"prefix": "insert toc"
|
|
},
|
|
"js (Codeblock)": {
|
|
"body": [
|
|
"```js",
|
|
"$CLIPBOARD$0",
|
|
"```"
|
|
],
|
|
"prefix": "js (Codeblock)"
|
|
},
|
|
"kbd": {
|
|
"body": "<kbd>$0</kbd>",
|
|
"description": "HTML tag for keys",
|
|
"prefix": "kbd"
|
|
},
|
|
"lua (Codeblock)": {
|
|
"body": [
|
|
"```lua",
|
|
"$CLIPBOARD$0",
|
|
"```"
|
|
],
|
|
"prefix": "lua (Codeblock)"
|
|
},
|
|
"note (GitHub callout)": {
|
|
"body": [
|
|
"> [!NOTE]",
|
|
"> $0"
|
|
],
|
|
"description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts",
|
|
"prefix": [
|
|
"info (callout)",
|
|
"note (callout)"
|
|
]
|
|
},
|
|
"py (Codeblock)": {
|
|
"body": [
|
|
"```py",
|
|
"$CLIPBOARD$0",
|
|
"```"
|
|
],
|
|
"prefix": "py (Codeblock)"
|
|
},
|
|
"tip (callout)": {
|
|
"body": [
|
|
"> [!TIP]",
|
|
"> $0"
|
|
],
|
|
"description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts",
|
|
"prefix": "tip (callout)"
|
|
},
|
|
"ts (Codeblock)": {
|
|
"body": [
|
|
"```ts",
|
|
"$CLIPBOARD$0",
|
|
"```"
|
|
],
|
|
"prefix": "ts (Codeblock)"
|
|
},
|
|
"warning (callout)": {
|
|
"body": [
|
|
"> [!WARNING]",
|
|
"> $0"
|
|
],
|
|
"description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts",
|
|
"prefix": "warning (callout)"
|
|
}
|
|
}
|