forked from vscode-restructuredtext/vscode-restructuredtext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snippets.json
134 lines (134 loc) · 3.07 KB
/
snippets.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"code": {
"prefix": "code",
"body": ".. code-block:: ${1:language}\n$0",
"description": "Code",
"scope": "text.restructuredtext"
},
"image": {
"prefix": "image",
"body": ".. image:: ${1:path}\n$0",
"description": "Image",
"scope": "text.restructuredtext"
},
"figure": {
"prefix": "figure",
"body": ".. figure:: ${1:path}\n\n $0",
"description": "Figure",
"scope": "text.restructuredtext"
},
"link": {
"prefix": "link",
"body": "`${1:Title} <${2:http://link}>`_ ",
"description": "Link",
"scope": "text.restructuredtext"
},
"attention": {
"prefix": "attention",
"body": ".. attention:: ${1:text}\n$0",
"description": "Attention",
"scope": "text.restructuredtext"
},
"note": {
"prefix": "note",
"body": ".. note:: ${1:text}\n$0",
"description": "Note",
"scope": "text.restructuredtext"
},
"warning": {
"prefix": "warning",
"body": ".. warning:: ${1:text}\n$0",
"description": "Warning",
"scope": "text.restructuredtext"
},
"error": {
"prefix": "error",
"body": ".. error:: ${1:text}\n$0",
"description": "Error",
"scope": "text.restructuredtext"
},
"hint": {
"prefix": "hint",
"body": ".. hint:: ${1:text}\n$0",
"description": "Hint",
"scope": "text.restructuredtext"
},
"important": {
"prefix": "important",
"body": ".. important:: ${1:text}\n$0",
"description": "Important",
"scope": "text.restructuredtext"
},
"caution": {
"prefix": "caution",
"body": ".. caution:: ${1:text}\n$0",
"description": "Caution",
"scope": "text.restructuredtext"
},
"danger": {
"prefix": "danger",
"body": ".. danger:: ${1:text}\n$0",
"description": "Danger",
"scope": "text.restructuredtext"
},
"tip": {
"prefix": "tip",
"body": ".. tip:: ${1:text}\n$0",
"description": "Tip",
"scope": "text.restructuredtext"
},
"admonition": {
"prefix": "admonition",
"body": ".. admonition:: ${1:text}\n$0",
"description": "Admonition",
"scope": "text.restructuredtext"
},
"rubric": {
"prefix": "rubric",
"body": ".. rubric:: ${1:text}\n$0",
"description": "Rubric",
"scope": "text.restructuredtext"
},
"doc": {
"prefix": "doc",
"body": ":doc:`/${1:text}` $0",
"description": "Doc reference",
"scope": "text.restructuredtext"
},
"ref": {
"prefix": "ref",
"body": ":ref:`${1:Label}` $0",
"description": "Label reference",
"scope": "text.restructuredtext"
},
"label": {
"prefix": "label",
"body": ".. _${1:Title}:\n\n$0",
"description": "Label",
"scope": "text.restructuredtext"
},
"download": {
"prefix": "download",
"body": ":download:`${1:Title} <${2:path}>` $0",
"description": "Download",
"scope": "text.restructuredtext"
},
"file": {
"prefix": "file",
"body": ":file:`${1:path}` $0",
"description": "File",
"scope": "text.restructuredtext"
},
"key": {
"prefix": "key",
"body": ":kbd:`${1:shortcut}` $0",
"description": "Keyboard Shortcut",
"scope": "text.restructuredtext"
},
"literalinclude": {
"prefix": "literalinclude",
"body": ".. literalinclude:: ${1:path}\n$0",
"description": "Literal Include",
"scope": "text.restructuredtext"
}
}