@@ -16,7 +16,7 @@ options head
16
16
17
17
snippet source
18
18
alias block-source
19
- abbr Add a source code block
19
+ abbr source code block --- source ---
20
20
options head
21
21
[source,${1: language } ]
22
22
----
@@ -25,7 +25,7 @@ options head
25
25
26
26
snippet quote
27
27
alias block-quote
28
- abbr Add a quote block
28
+ abbr quote block --- text ---
29
29
options head
30
30
[quote, ${1: Name } , ${2: Occasion } }]
31
31
____
@@ -34,6 +34,7 @@ options head
34
34
35
35
snippet literalblock
36
36
alias block-literal
37
+ abbr literal block ... text ...
37
38
options head
38
39
....
39
40
${0}
@@ -65,13 +66,24 @@ options word
65
66
+${1} +${0}
66
67
67
68
snippet heading
68
- abbr == heading
69
+ alias section
70
+ abbr == heading on level 2
69
71
options head
70
- [#${1: Id } ]
71
- ==${2} ${3: Title }
72
+ == ${1: Title }
73
+
74
+ ${0}
75
+
76
+ snippet heading-anchor
77
+ alias section-anchor
78
+ abbr == heading on level 2 with anchor
79
+ options head
80
+ [#${2: Id } ]
81
+ == ${1: Title }
82
+
83
+ ${0}
72
84
73
85
snippet inc
74
- abbr include::
86
+ abbr include::example.doc
75
87
options head
76
88
include::${1: example.doc } []${0}
77
89
@@ -129,31 +141,40 @@ options word
129
141
mailto:${1: alice@example.com } [${2: Alice } ]${0}
130
142
131
143
snippet anchor
144
+ abbr [[id]] text
132
145
options word
133
146
[[${1: id } ]]${0}
134
147
148
+ snippet block-anchor
149
+ alias anchorblock
150
+ abbr [#anchor] #text#, itemize, ...
151
+ options head
152
+ [#${1: Id } ] ${0}
153
+
135
154
snippet ref
136
155
abbr reference to anchor
137
156
options word
138
157
<<${1: id } >>${0}
139
158
140
159
snippet image
160
+ abbr image::file[desc]
141
161
options head
142
162
image::${1: example.jpg } [${2: Description } ]
143
163
${0}
144
164
145
165
snippet imagecenter
146
- abbr Centered image
166
+ abbr Centered image::file[desc]
147
167
options head
148
168
image::${1: example.jpg } [${2: Description } ,align="center"]
149
169
${0}
150
170
151
171
snippet imageinline
152
- abbr Inline image
172
+ abbr Inline image:file[desc]
153
173
options word
154
174
image:${1: example.jpg } [${2: Description } ]${0}
155
175
156
176
snippet footnote
177
+ abbr footnote
157
178
options word
158
179
.footnote:[${1: footnotetext } ]${0}
159
180
0 commit comments