|
1 | 1 | { |
2 | | - "Header 1": { |
3 | | - "prefix": "h1", |
4 | | - "body": [ |
5 | | - "h1. $1" |
6 | | - ] |
7 | | - }, |
8 | | - "Header 2": { |
9 | | - "prefix": "h2", |
10 | | - "body": [ |
11 | | - "h2. $1" |
12 | | - ] |
13 | | - }, |
14 | | - "Header 3": { |
15 | | - "prefix": "h3", |
16 | | - "body": [ |
17 | | - "h3. $1" |
18 | | - ] |
19 | | - }, |
20 | | - "Header 4": { |
21 | | - "prefix": "h4", |
22 | | - "body": [ |
23 | | - "h4. $1" |
24 | | - ] |
25 | | - }, |
26 | | - "Header 5": { |
27 | | - "prefix": "h5", |
28 | | - "body": [ |
29 | | - "h5. $1" |
30 | | - ] |
31 | | - }, |
32 | | - "Header 6": { |
33 | | - "prefix": "h6", |
34 | | - "body": [ |
35 | | - "h6. $1" |
36 | | - ] |
37 | | - }, |
38 | | - "Dash point list 1": { |
39 | | - "prefix": "dl1", |
40 | | - "body": [ |
41 | | - "- $1" |
42 | | - ] |
43 | | - }, |
44 | | - "Dash point list 2": { |
45 | | - "prefix": "dl2", |
46 | | - "body": [ |
47 | | - "- $1\n- $2" |
48 | | - ] |
49 | | - }, |
50 | | - "Dash point list 3": { |
51 | | - "prefix": "dl3", |
52 | | - "body": [ |
53 | | - "- $1\n- $2\n- $3" |
54 | | - ] |
55 | | - }, |
56 | | - "Dash point list 4": { |
57 | | - "prefix": "dl4", |
58 | | - "body": [ |
59 | | - "- $1\n- $2\n- $3\n- $4" |
60 | | - ] |
61 | | - }, |
62 | | - "Bullet point list 1": { |
63 | | - "prefix": "bl1", |
64 | | - "body": [ |
65 | | - "* $1" |
66 | | - ] |
67 | | - }, |
68 | | - "Bullet point list 2": { |
69 | | - "prefix": "bl2", |
70 | | - "body": [ |
71 | | - "* $1\n* $2" |
72 | | - ] |
73 | | - }, |
74 | | - "Bullet point list 3": { |
75 | | - "prefix": "bl3", |
76 | | - "body": [ |
77 | | - "* $1\n* $2\n* $3" |
78 | | - ] |
| 2 | + "Insert bold text": { |
| 3 | + "prefix": "bold", |
| 4 | + "body": "*${1:${TM_SELECTED_TEXT}}*$0", |
| 5 | + "description": "Insert bold text" |
| 6 | + }, |
| 7 | + "Insert italic text": { |
| 8 | + "prefix": "italic", |
| 9 | + "body": "_${1:${TM_SELECTED_TEXT}}_$0", |
| 10 | + "description": "Insert italic text" |
| 11 | + }, |
| 12 | + "Insert quoted text": { |
| 13 | + "prefix": "quote", |
| 14 | + "body": "bq. ${1:${TM_SELECTED_TEXT}}", |
| 15 | + "description": "Insert quoted text" |
| 16 | + }, |
| 17 | + "Insert color text": { |
| 18 | + "prefix": "color", |
| 19 | + "body": "{color:${1:color}}${2:${TM_SELECTED_TEXT}}{color}$0", |
| 20 | + "description": "Insert color text" |
| 21 | + }, |
| 22 | + "Insert heading 1": { |
| 23 | + "prefix": "heading 1", |
| 24 | + "body": "h1. ${1:${TM_SELECTED_TEXT}}", |
| 25 | + "description": "Insert heading 1" |
| 26 | + }, |
| 27 | + "Insert heading 2": { |
| 28 | + "prefix": "heading 2", |
| 29 | + "body": "h2. ${1:${TM_SELECTED_TEXT}}", |
| 30 | + "description": "Insert heading 2" |
| 31 | + }, |
| 32 | + "Insert heading 3": { |
| 33 | + "prefix": "heading 3", |
| 34 | + "body": "h3. ${1:${TM_SELECTED_TEXT}}", |
| 35 | + "description": "Insert heading 3" |
| 36 | + }, |
| 37 | + "Insert heading 4": { |
| 38 | + "prefix": "heading 4", |
| 39 | + "body": "h4. ${1:${TM_SELECTED_TEXT}}", |
| 40 | + "description": "Insert heading 4" |
| 41 | + }, |
| 42 | + "Insert heading 5": { |
| 43 | + "prefix": "heading 5", |
| 44 | + "body": "h5. ${1:${TM_SELECTED_TEXT}}", |
| 45 | + "description": "Insert heading 5" |
| 46 | + }, |
| 47 | + "Insert heading 6": { |
| 48 | + "prefix": "heading 6", |
| 49 | + "body": "h6. ${1:${TM_SELECTED_TEXT}}", |
| 50 | + "description": "Insert heading 6" |
| 51 | + }, |
| 52 | + "Insert unordered dash list": { |
| 53 | + "prefix": "unordered dash list", |
| 54 | + "body": [ |
| 55 | + "- ${1:first}", |
| 56 | + "- ${2:second}", |
| 57 | + "- ${3:third}", |
| 58 | + "$0" |
| 59 | + ], |
| 60 | + "description": "Insert unordered list" |
79 | 61 | }, |
80 | | - "Bullet point list 4": { |
81 | | - "prefix": "bl4", |
| 62 | + "Insert unordered bullet list": { |
| 63 | + "prefix": "unordered bullet list", |
82 | 64 | "body": [ |
83 | | - "* $1\n* $2\n* $3\n* $4" |
84 | | - ] |
| 65 | + "* ${1:first}", |
| 66 | + "* ${2:second}", |
| 67 | + "* ${3:third}", |
| 68 | + "$0" |
| 69 | + ], |
| 70 | + "description": "Insert unordered list" |
85 | 71 | }, |
86 | | - "Numbered list 1": { |
87 | | - "prefix": "nl1", |
| 72 | + "Insert ordered list": { |
| 73 | + "prefix": "ordered list", |
88 | 74 | "body": [ |
89 | | - "# $1" |
90 | | - ] |
| 75 | + "# ${1:first}", |
| 76 | + "# ${2:second}", |
| 77 | + "# ${3:third}", |
| 78 | + "$0" |
| 79 | + ], |
| 80 | + "description": "Insert ordered list" |
91 | 81 | }, |
92 | | - "Numbered list 2": { |
93 | | - "prefix": "nl2", |
| 82 | + "Insert table": { |
| 83 | + "prefix": "table", |
94 | 84 | "body": [ |
95 | | - "# $1\n# $2" |
96 | | - ] |
| 85 | + "||${1:heading 1}||${2:heading 2}||${3:heading 3}||", |
| 86 | + "|${4:cell A1}|${5:cell A2}|${6:cell A3}|", |
| 87 | + "|${7:cell B1}|${8:cell B2}|${9:cell B3}|" |
| 88 | + ], |
| 89 | + "description": "Insert table." |
97 | 90 | }, |
98 | | - "Numbered list 3": { |
99 | | - "prefix": "nl3", |
| 91 | + "Insert headless table": { |
| 92 | + "prefix": "table headless", |
100 | 93 | "body": [ |
101 | | - "# $1\n# $2\n# $3" |
102 | | - ] |
| 94 | + "|${1:cell A1}|${2:cell A2}|${3:cell A3}|", |
| 95 | + "|${4:cell B1}|${5:cell B2}|${6:cell B3}|" |
| 96 | + ], |
| 97 | + "description": "Insert headless table." |
103 | 98 | }, |
104 | | - "Numbered list 4": { |
105 | | - "prefix": "nl4", |
| 99 | + "Insert text block without format": { |
| 100 | + "prefix": "noformat", |
106 | 101 | "body": [ |
107 | | - "# $1\n# $2\n# $3\n# $4" |
| 102 | + "{noformat}", |
| 103 | + "${1:${TM_SELECTED_TEXT}}$0", |
| 104 | + "{noformat}" |
108 | 105 | ], |
109 | | - "description":"Insert numbered list with four elemets." |
| 106 | + "description":"Insert text block without formatting." |
110 | 107 | }, |
111 | | - "Table": { |
112 | | - "prefix": "table", |
| 108 | + "Insert code block": { |
| 109 | + "prefix": "code simple", |
113 | 110 | "body": [ |
114 | | - "||${1:heading 1}||${2:heading 2}||${3:heading 3}||", |
115 | | - "|${4:cell A1}|${5:cell A2}|${6:cell A3}|", |
116 | | - "|${7:cell B1}|${8:cell B2}|${9:cell B3}|" |
| 111 | + "{code}", |
| 112 | + "${1:${TM_SELECTED_TEXT}}$0", |
| 113 | + "{code}" |
117 | 114 | ], |
118 | | - "description": "Insert table." |
| 115 | + "description":"Insert code block with border style, title and language." |
119 | 116 | }, |
120 | | - "Code block": { |
| 117 | + "Insert fenced code block": { |
121 | 118 | "prefix": "code", |
122 | 119 | "body": [ |
123 | 120 | "{code:${1:language}|title=${2:title}|borderStyle=${3:solid}}", |
124 | | - "$0", |
| 121 | + "${TM_SELECTED_TEXT}$0", |
125 | 122 | "{code}" |
126 | 123 | ], |
127 | 124 | "description":"Insert code block with border style, title and language." |
128 | 125 | }, |
129 | | - "Picture": { |
130 | | - "prefix": "pics", |
| 126 | + "Insert link": { |
| 127 | + "prefix": "link", |
| 128 | + "body": "[${TM_SELECTED_TEXT:${1:text}}|https://${2:link}]$0", |
| 129 | + "description": "Insert link" |
| 130 | + }, |
| 131 | + "Insert image": { |
| 132 | + "prefix": "image", |
131 | 133 | "body": [ |
132 | 134 | "!${1:filename.png}|align=${2:alignment},border=${3:1}!" |
133 | 135 | ], |
134 | | - "description": "Insert picture." |
| 136 | + "description": "Insert image" |
135 | 137 | }, |
136 | | - "Macro with body": { |
137 | | - "prefix": "mm", |
| 138 | + "Insert macro with body": { |
| 139 | + "prefix": "macro with body", |
138 | 140 | "body": [ |
139 | 141 | "{$1}$0{${1/\\:.*//}}" |
140 | 142 | ], |
141 | 143 | "description": "Insert macro with body." |
142 | 144 | }, |
143 | | - "Macro": { |
144 | | - "prefix": "m", |
| 145 | + "Insert simple macro": { |
| 146 | + "prefix": "macro", |
145 | 147 | "body": [ |
146 | 148 | "{$1}$0" |
147 | 149 | ], |
|
0 commit comments