@codingame/monaco-languageclient-wrapper 1.3.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/dist/BSV.tmLanguage.js +299 -0
  2. package/dist/COBOL Copybook.js +2017 -0
  3. package/dist/COBOL.js +2017 -0
  4. package/dist/COBOL.tmLanguage.js +149 -0
  5. package/dist/CodinGameMonacoWorkspace.d.ts +13 -0
  6. package/dist/Configuration.d.ts +15 -0
  7. package/dist/Erlang.plist.js +1752 -0
  8. package/dist/JSON.tmLanguage.js +221 -0
  9. package/dist/JSONC.tmLanguage.js +221 -0
  10. package/dist/JavaScript.tmLanguage.js +5894 -0
  11. package/dist/Kotlin.tmLanguage.js +724 -0
  12. package/dist/MagicPython.tmLanguage.js +5340 -0
  13. package/dist/MagicRegExp.tmLanguage.js +505 -0
  14. package/dist/Regular Expressions (JavaScript).tmLanguage.js +166 -0
  15. package/dist/SQL.plist.js +482 -0
  16. package/dist/Scala.tmLanguage.js +1255 -0
  17. package/dist/TypeScript.tmLanguage.js +5641 -0
  18. package/dist/WatchableConsoleWindow.d.ts +22 -0
  19. package/dist/_rollupPluginBabelHelpers.js +54 -0
  20. package/dist/asp-vb-net.tmlanguage.js +247 -0
  21. package/dist/bsv.js +49 -0
  22. package/dist/c.js +18 -0
  23. package/dist/c.tmLanguage.js +3347 -0
  24. package/dist/cabal.tmLanguage.js +66 -0
  25. package/dist/clojure.tmLanguage.js +443 -0
  26. package/dist/codeblock-cabal.js +42 -0
  27. package/dist/codeblock-haskell.js +42 -0
  28. package/dist/codeblock-literate-haskell.js +42 -0
  29. package/dist/codeblock.js +36 -0
  30. package/dist/codeblock2.js +95 -0
  31. package/dist/coffeescript.js +18 -0
  32. package/dist/coffeescript.tmLanguage.js +1324 -0
  33. package/dist/configuration/index.d.ts +5 -0
  34. package/dist/cpp.js +18 -0
  35. package/dist/cpp.tmLanguage.js +19996 -0
  36. package/dist/csharp.js +18 -0
  37. package/dist/csharp.tmLanguage.js +4750 -0
  38. package/dist/css.tmLanguage.js +1873 -0
  39. package/dist/css.worker.js +6 -0
  40. package/dist/cssContribution.js +10 -0
  41. package/dist/cuda-cpp.tmLanguage.js +19993 -0
  42. package/dist/d.js +3159 -0
  43. package/dist/dart.js +530 -0
  44. package/dist/diet.js +758 -0
  45. package/dist/diet2.js +92 -0
  46. package/dist/dml.js +169 -0
  47. package/dist/eex.js +55 -0
  48. package/dist/elixir.js +2341 -0
  49. package/dist/elixir2.js +184 -0
  50. package/dist/erlang.js +195 -0
  51. package/dist/expression.js +846 -0
  52. package/dist/extensionConfiguration.d.ts +7 -0
  53. package/dist/extensions/autofold.d.ts +2 -0
  54. package/dist/extensions/cobol.d.ts +2 -0
  55. package/dist/extensions/index.d.ts +2 -0
  56. package/dist/extensions.d.ts +13 -1
  57. package/dist/features/cssContribution.d.ts +1 -0
  58. package/dist/features/htmlContribution.d.ts +1 -0
  59. package/dist/features/jsonContribution.d.ts +1 -0
  60. package/dist/features/typescriptContribution.d.ts +1 -0
  61. package/dist/fsharp.js +18 -0
  62. package/dist/fsharp.tmLanguage.js +1811 -0
  63. package/dist/go.tmLanguage.js +1025 -0
  64. package/dist/groovy.js +229 -0
  65. package/dist/groovy.tmLanguage.js +1391 -0
  66. package/dist/haskell.tmLanguage.js +629 -0
  67. package/dist/html (eex).js +31 -0
  68. package/dist/html-derivative.tmLanguage.js +57 -0
  69. package/dist/html.tmLanguage.js +2652 -0
  70. package/dist/html.tmLanguage2.js +97 -0
  71. package/dist/html.worker.js +6 -0
  72. package/dist/htmlContribution.js +10 -0
  73. package/dist/index.d.ts +5 -3
  74. package/dist/inline-styles.js +104 -0
  75. package/dist/inline-template.js +88 -0
  76. package/dist/java.js +18 -0
  77. package/dist/java.tmLanguage.js +1863 -0
  78. package/dist/javascript.js +196 -0
  79. package/dist/javascriptreact.js +196 -0
  80. package/dist/jsdoc.js.injection.tmLanguage.js +32 -0
  81. package/dist/jsdoc.ts.injection.tmLanguage.js +32 -0
  82. package/dist/json.worker.js +6 -0
  83. package/dist/jsonContribution.js +78 -0
  84. package/dist/keybindings/index.d.ts +2 -0
  85. package/dist/keybindings/keybindingHelper.d.ts +2 -0
  86. package/dist/keybindings/vim.d.ts +3 -0
  87. package/dist/kotlin.js +117 -0
  88. package/dist/kotlinscript.js +117 -0
  89. package/dist/languageClient.d.ts +18 -8
  90. package/dist/languages/extensions/grammarLoader.d.ts +91037 -0
  91. package/dist/languages/extensions/snippetLoader.d.ts +4578 -0
  92. package/dist/languages/index.d.ts +3 -0
  93. package/dist/languages/monarch/index.d.ts +7 -0
  94. package/dist/languages/monarch/list.d.ts +7 -0
  95. package/dist/languages/monarch/stub-generator.d.ts +2 -0
  96. package/dist/languages/snippets/index.d.ts +1 -0
  97. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +5 -0
  98. package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
  99. package/dist/languages/textMate/index.d.ts +2 -0
  100. package/dist/literateHaskell.tmLanguage.js +70 -0
  101. package/dist/lua.tmLanguage.js +289 -0
  102. package/dist/main.js +377 -258
  103. package/dist/markdown.js +103 -0
  104. package/dist/markdown.tmLanguage.js +2784 -0
  105. package/dist/merlin.js +111 -0
  106. package/dist/monaco.d.ts +8 -0
  107. package/dist/objective-c.tmLanguage.js +3618 -0
  108. package/dist/ocaml-hover-info.js +34 -0
  109. package/dist/ocaml-hover-type.js +24 -0
  110. package/dist/ocaml-markdown-codeblock.js +42 -0
  111. package/dist/ocaml.js +2979 -0
  112. package/dist/ocamlbuild.js +239 -0
  113. package/dist/opam.js +149 -0
  114. package/dist/pascal.js +382 -0
  115. package/dist/pascal.tmLanguage.js +169 -0
  116. package/dist/perl.tmLanguage.js +2986 -0
  117. package/dist/perl6.tmLanguage.js +323 -0
  118. package/dist/pgsql.tmLanguage.js +284 -0
  119. package/dist/php.js +265 -0
  120. package/dist/php.tmLanguage.js +3791 -0
  121. package/dist/platform.tmLanguage.js +1135 -0
  122. package/dist/powershell.js +18 -0
  123. package/dist/powershell.tmLanguage.js +1037 -0
  124. package/dist/r.tmLanguage.js +551 -0
  125. package/dist/reason-hover-info.js +34 -0
  126. package/dist/reason-hover-signature.js +21 -0
  127. package/dist/reason-hover-type.js +21 -0
  128. package/dist/reason-markdown-codeblock.js +42 -0
  129. package/dist/reason.js +100 -0
  130. package/dist/ruby.tmLanguage.js +2784 -0
  131. package/dist/rust.tmLanguage.js +1178 -0
  132. package/dist/sassdoc.tmLanguage.js +362 -0
  133. package/dist/scss.tmLanguage.js +1887 -0
  134. package/dist/sdc.tmLanguage.js +712 -0
  135. package/dist/sdl.js +162 -0
  136. package/dist/services/EditorModelResolverService.d.ts +8 -0
  137. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +7 -0
  138. package/dist/shell-unix-bash.tmLanguage.js +1291 -0
  139. package/dist/sql.js +21 -0
  140. package/dist/staticOptions.d.ts +5 -7
  141. package/dist/stub-generator.js +15 -0
  142. package/dist/swift.js +183 -0
  143. package/dist/swift.tmLanguage.js +3288 -0
  144. package/dist/systemverilog.js +208 -0
  145. package/dist/systemverilog.tmLanguage.js +1067 -0
  146. package/dist/tcl.js +151 -0
  147. package/dist/tcl.tmlanguage.yaml.js +5484 -0
  148. package/dist/template.js +207 -0
  149. package/dist/theme/index.d.ts +3 -0
  150. package/dist/theme/registry.d.ts +4 -0
  151. package/dist/theme/semanticHighlight.d.ts +1 -0
  152. package/dist/theme/tools.d.ts +13 -0
  153. package/dist/tools.d.ts +3 -0
  154. package/dist/ts.worker.js +6 -0
  155. package/dist/typescript.js +312 -0
  156. package/dist/typescriptContribution.js +36 -0
  157. package/dist/typescriptreact.js +312 -0
  158. package/dist/ucf.tmLanguage.js +36 -0
  159. package/dist/vb.js +88 -0
  160. package/dist/verilog.js +432 -0
  161. package/dist/verilog.tmLanguage.js +321 -0
  162. package/dist/worker.d.ts +6 -0
  163. package/dist/worker.js +54 -0
  164. package/dist/xml.tmLanguage.js +395 -0
  165. package/dist/xsl.tmLanguage.js +102 -0
  166. package/dist/yaml.tmLanguage.js +629 -0
  167. package/package.json +2 -2
  168. package/stats.html +1 -1
  169. package/dist/monaco-languageclient-wrapper.d.ts +0 -1478
  170. package/dist/tsdoc-metadata.json +0 -11
@@ -0,0 +1,2784 @@
1
+ var information_for_contributors = [
2
+ "This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/markdown-basics/",
3
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
4
+ "Once accepted there, we are happy to receive an update request."
5
+ ];
6
+ var version = "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/b0e9d49bdb9ff10332439db26550383b5d13aea7";
7
+ var name = "Markdown";
8
+ var scopeName = "text.html.markdown";
9
+ var patterns = [
10
+ {
11
+ include: "#frontMatter"
12
+ },
13
+ {
14
+ include: "#block"
15
+ }
16
+ ];
17
+ var repository = {
18
+ block: {
19
+ patterns: [
20
+ {
21
+ include: "#separator"
22
+ },
23
+ {
24
+ include: "#heading"
25
+ },
26
+ {
27
+ include: "#blockquote"
28
+ },
29
+ {
30
+ include: "#lists"
31
+ },
32
+ {
33
+ include: "#fenced_code_block"
34
+ },
35
+ {
36
+ include: "#raw_block"
37
+ },
38
+ {
39
+ include: "#link-def"
40
+ },
41
+ {
42
+ include: "#html"
43
+ },
44
+ {
45
+ include: "#paragraph"
46
+ }
47
+ ]
48
+ },
49
+ blockquote: {
50
+ begin: "(^|\\G)[ ]{0,3}(>) ?",
51
+ captures: {
52
+ "2": {
53
+ name: "punctuation.definition.quote.begin.markdown"
54
+ }
55
+ },
56
+ name: "markup.quote.markdown",
57
+ patterns: [
58
+ {
59
+ include: "#block"
60
+ }
61
+ ],
62
+ "while": "(^|\\G)\\s*(>) ?"
63
+ },
64
+ fenced_code_block_css: {
65
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(css|css.erb)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
66
+ name: "markup.fenced_code.block.markdown",
67
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
68
+ beginCaptures: {
69
+ "3": {
70
+ name: "punctuation.definition.markdown"
71
+ },
72
+ "4": {
73
+ name: "fenced_code.block.language.markdown"
74
+ },
75
+ "5": {
76
+ name: "fenced_code.block.language.attributes.markdown"
77
+ }
78
+ },
79
+ endCaptures: {
80
+ "3": {
81
+ name: "punctuation.definition.markdown"
82
+ }
83
+ },
84
+ patterns: [
85
+ {
86
+ begin: "(^|\\G)(\\s*)(.*)",
87
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
88
+ contentName: "meta.embedded.block.css",
89
+ patterns: [
90
+ {
91
+ include: "source.css"
92
+ }
93
+ ]
94
+ }
95
+ ]
96
+ },
97
+ fenced_code_block_basic: {
98
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(html|htm|shtml|xhtml|inc|tmpl|tpl)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
99
+ name: "markup.fenced_code.block.markdown",
100
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
101
+ beginCaptures: {
102
+ "3": {
103
+ name: "punctuation.definition.markdown"
104
+ },
105
+ "4": {
106
+ name: "fenced_code.block.language.markdown"
107
+ },
108
+ "5": {
109
+ name: "fenced_code.block.language.attributes.markdown"
110
+ }
111
+ },
112
+ endCaptures: {
113
+ "3": {
114
+ name: "punctuation.definition.markdown"
115
+ }
116
+ },
117
+ patterns: [
118
+ {
119
+ begin: "(^|\\G)(\\s*)(.*)",
120
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
121
+ contentName: "meta.embedded.block.html",
122
+ patterns: [
123
+ {
124
+ include: "text.html.basic"
125
+ }
126
+ ]
127
+ }
128
+ ]
129
+ },
130
+ fenced_code_block_ini: {
131
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ini|conf)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
132
+ name: "markup.fenced_code.block.markdown",
133
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
134
+ beginCaptures: {
135
+ "3": {
136
+ name: "punctuation.definition.markdown"
137
+ },
138
+ "4": {
139
+ name: "fenced_code.block.language.markdown"
140
+ },
141
+ "5": {
142
+ name: "fenced_code.block.language.attributes.markdown"
143
+ }
144
+ },
145
+ endCaptures: {
146
+ "3": {
147
+ name: "punctuation.definition.markdown"
148
+ }
149
+ },
150
+ patterns: [
151
+ {
152
+ begin: "(^|\\G)(\\s*)(.*)",
153
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
154
+ contentName: "meta.embedded.block.ini",
155
+ patterns: [
156
+ {
157
+ include: "source.ini"
158
+ }
159
+ ]
160
+ }
161
+ ]
162
+ },
163
+ fenced_code_block_java: {
164
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(java|bsh)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
165
+ name: "markup.fenced_code.block.markdown",
166
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
167
+ beginCaptures: {
168
+ "3": {
169
+ name: "punctuation.definition.markdown"
170
+ },
171
+ "4": {
172
+ name: "fenced_code.block.language.markdown"
173
+ },
174
+ "5": {
175
+ name: "fenced_code.block.language.attributes.markdown"
176
+ }
177
+ },
178
+ endCaptures: {
179
+ "3": {
180
+ name: "punctuation.definition.markdown"
181
+ }
182
+ },
183
+ patterns: [
184
+ {
185
+ begin: "(^|\\G)(\\s*)(.*)",
186
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
187
+ contentName: "meta.embedded.block.java",
188
+ patterns: [
189
+ {
190
+ include: "source.java"
191
+ }
192
+ ]
193
+ }
194
+ ]
195
+ },
196
+ fenced_code_block_lua: {
197
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(lua)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
198
+ name: "markup.fenced_code.block.markdown",
199
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
200
+ beginCaptures: {
201
+ "3": {
202
+ name: "punctuation.definition.markdown"
203
+ },
204
+ "4": {
205
+ name: "fenced_code.block.language.markdown"
206
+ },
207
+ "5": {
208
+ name: "fenced_code.block.language.attributes.markdown"
209
+ }
210
+ },
211
+ endCaptures: {
212
+ "3": {
213
+ name: "punctuation.definition.markdown"
214
+ }
215
+ },
216
+ patterns: [
217
+ {
218
+ begin: "(^|\\G)(\\s*)(.*)",
219
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
220
+ contentName: "meta.embedded.block.lua",
221
+ patterns: [
222
+ {
223
+ include: "source.lua"
224
+ }
225
+ ]
226
+ }
227
+ ]
228
+ },
229
+ fenced_code_block_makefile: {
230
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(Makefile|makefile|GNUmakefile|OCamlMakefile)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
231
+ name: "markup.fenced_code.block.markdown",
232
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
233
+ beginCaptures: {
234
+ "3": {
235
+ name: "punctuation.definition.markdown"
236
+ },
237
+ "4": {
238
+ name: "fenced_code.block.language.markdown"
239
+ },
240
+ "5": {
241
+ name: "fenced_code.block.language.attributes.markdown"
242
+ }
243
+ },
244
+ endCaptures: {
245
+ "3": {
246
+ name: "punctuation.definition.markdown"
247
+ }
248
+ },
249
+ patterns: [
250
+ {
251
+ begin: "(^|\\G)(\\s*)(.*)",
252
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
253
+ contentName: "meta.embedded.block.makefile",
254
+ patterns: [
255
+ {
256
+ include: "source.makefile"
257
+ }
258
+ ]
259
+ }
260
+ ]
261
+ },
262
+ fenced_code_block_perl: {
263
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl|pl|pm|pod|t|PL|psgi|vcl)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
264
+ name: "markup.fenced_code.block.markdown",
265
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
266
+ beginCaptures: {
267
+ "3": {
268
+ name: "punctuation.definition.markdown"
269
+ },
270
+ "4": {
271
+ name: "fenced_code.block.language.markdown"
272
+ },
273
+ "5": {
274
+ name: "fenced_code.block.language.attributes.markdown"
275
+ }
276
+ },
277
+ endCaptures: {
278
+ "3": {
279
+ name: "punctuation.definition.markdown"
280
+ }
281
+ },
282
+ patterns: [
283
+ {
284
+ begin: "(^|\\G)(\\s*)(.*)",
285
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
286
+ contentName: "meta.embedded.block.perl",
287
+ patterns: [
288
+ {
289
+ include: "source.perl"
290
+ }
291
+ ]
292
+ }
293
+ ]
294
+ },
295
+ fenced_code_block_r: {
296
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(R|r|s|S|Rprofile|\\{\\.r.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
297
+ name: "markup.fenced_code.block.markdown",
298
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
299
+ beginCaptures: {
300
+ "3": {
301
+ name: "punctuation.definition.markdown"
302
+ },
303
+ "4": {
304
+ name: "fenced_code.block.language.markdown"
305
+ },
306
+ "5": {
307
+ name: "fenced_code.block.language.attributes.markdown"
308
+ }
309
+ },
310
+ endCaptures: {
311
+ "3": {
312
+ name: "punctuation.definition.markdown"
313
+ }
314
+ },
315
+ patterns: [
316
+ {
317
+ begin: "(^|\\G)(\\s*)(.*)",
318
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
319
+ contentName: "meta.embedded.block.r",
320
+ patterns: [
321
+ {
322
+ include: "source.r"
323
+ }
324
+ ]
325
+ }
326
+ ]
327
+ },
328
+ fenced_code_block_ruby: {
329
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ruby|rb|rbx|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
330
+ name: "markup.fenced_code.block.markdown",
331
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
332
+ beginCaptures: {
333
+ "3": {
334
+ name: "punctuation.definition.markdown"
335
+ },
336
+ "4": {
337
+ name: "fenced_code.block.language.markdown"
338
+ },
339
+ "5": {
340
+ name: "fenced_code.block.language.attributes.markdown"
341
+ }
342
+ },
343
+ endCaptures: {
344
+ "3": {
345
+ name: "punctuation.definition.markdown"
346
+ }
347
+ },
348
+ patterns: [
349
+ {
350
+ begin: "(^|\\G)(\\s*)(.*)",
351
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
352
+ contentName: "meta.embedded.block.ruby",
353
+ patterns: [
354
+ {
355
+ include: "source.ruby"
356
+ }
357
+ ]
358
+ }
359
+ ]
360
+ },
361
+ fenced_code_block_php: {
362
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(php|php3|php4|php5|phpt|phtml|aw|ctp)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
363
+ name: "markup.fenced_code.block.markdown",
364
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
365
+ beginCaptures: {
366
+ "3": {
367
+ name: "punctuation.definition.markdown"
368
+ },
369
+ "4": {
370
+ name: "fenced_code.block.language.markdown"
371
+ },
372
+ "5": {
373
+ name: "fenced_code.block.language.attributes.markdown"
374
+ }
375
+ },
376
+ endCaptures: {
377
+ "3": {
378
+ name: "punctuation.definition.markdown"
379
+ }
380
+ },
381
+ patterns: [
382
+ {
383
+ begin: "(^|\\G)(\\s*)(.*)",
384
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
385
+ contentName: "meta.embedded.block.php",
386
+ patterns: [
387
+ {
388
+ include: "text.html.basic"
389
+ },
390
+ {
391
+ include: "source.php"
392
+ }
393
+ ]
394
+ }
395
+ ]
396
+ },
397
+ fenced_code_block_sql: {
398
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(sql|ddl|dml)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
399
+ name: "markup.fenced_code.block.markdown",
400
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
401
+ beginCaptures: {
402
+ "3": {
403
+ name: "punctuation.definition.markdown"
404
+ },
405
+ "4": {
406
+ name: "fenced_code.block.language.markdown"
407
+ },
408
+ "5": {
409
+ name: "fenced_code.block.language.attributes.markdown"
410
+ }
411
+ },
412
+ endCaptures: {
413
+ "3": {
414
+ name: "punctuation.definition.markdown"
415
+ }
416
+ },
417
+ patterns: [
418
+ {
419
+ begin: "(^|\\G)(\\s*)(.*)",
420
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
421
+ contentName: "meta.embedded.block.sql",
422
+ patterns: [
423
+ {
424
+ include: "source.sql"
425
+ }
426
+ ]
427
+ }
428
+ ]
429
+ },
430
+ fenced_code_block_vs_net: {
431
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vb)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
432
+ name: "markup.fenced_code.block.markdown",
433
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
434
+ beginCaptures: {
435
+ "3": {
436
+ name: "punctuation.definition.markdown"
437
+ },
438
+ "4": {
439
+ name: "fenced_code.block.language.markdown"
440
+ },
441
+ "5": {
442
+ name: "fenced_code.block.language.attributes.markdown"
443
+ }
444
+ },
445
+ endCaptures: {
446
+ "3": {
447
+ name: "punctuation.definition.markdown"
448
+ }
449
+ },
450
+ patterns: [
451
+ {
452
+ begin: "(^|\\G)(\\s*)(.*)",
453
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
454
+ contentName: "meta.embedded.block.vs_net",
455
+ patterns: [
456
+ {
457
+ include: "source.asp.vb.net"
458
+ }
459
+ ]
460
+ }
461
+ ]
462
+ },
463
+ fenced_code_block_xml: {
464
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
465
+ name: "markup.fenced_code.block.markdown",
466
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
467
+ beginCaptures: {
468
+ "3": {
469
+ name: "punctuation.definition.markdown"
470
+ },
471
+ "4": {
472
+ name: "fenced_code.block.language.markdown"
473
+ },
474
+ "5": {
475
+ name: "fenced_code.block.language.attributes.markdown"
476
+ }
477
+ },
478
+ endCaptures: {
479
+ "3": {
480
+ name: "punctuation.definition.markdown"
481
+ }
482
+ },
483
+ patterns: [
484
+ {
485
+ begin: "(^|\\G)(\\s*)(.*)",
486
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
487
+ contentName: "meta.embedded.block.xml",
488
+ patterns: [
489
+ {
490
+ include: "text.xml"
491
+ }
492
+ ]
493
+ }
494
+ ]
495
+ },
496
+ fenced_code_block_xsl: {
497
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(xsl|xslt)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
498
+ name: "markup.fenced_code.block.markdown",
499
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
500
+ beginCaptures: {
501
+ "3": {
502
+ name: "punctuation.definition.markdown"
503
+ },
504
+ "4": {
505
+ name: "fenced_code.block.language.markdown"
506
+ },
507
+ "5": {
508
+ name: "fenced_code.block.language.attributes.markdown"
509
+ }
510
+ },
511
+ endCaptures: {
512
+ "3": {
513
+ name: "punctuation.definition.markdown"
514
+ }
515
+ },
516
+ patterns: [
517
+ {
518
+ begin: "(^|\\G)(\\s*)(.*)",
519
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
520
+ contentName: "meta.embedded.block.xsl",
521
+ patterns: [
522
+ {
523
+ include: "text.xml.xsl"
524
+ }
525
+ ]
526
+ }
527
+ ]
528
+ },
529
+ fenced_code_block_yaml: {
530
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(yaml|yml)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
531
+ name: "markup.fenced_code.block.markdown",
532
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
533
+ beginCaptures: {
534
+ "3": {
535
+ name: "punctuation.definition.markdown"
536
+ },
537
+ "4": {
538
+ name: "fenced_code.block.language.markdown"
539
+ },
540
+ "5": {
541
+ name: "fenced_code.block.language.attributes.markdown"
542
+ }
543
+ },
544
+ endCaptures: {
545
+ "3": {
546
+ name: "punctuation.definition.markdown"
547
+ }
548
+ },
549
+ patterns: [
550
+ {
551
+ begin: "(^|\\G)(\\s*)(.*)",
552
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
553
+ contentName: "meta.embedded.block.yaml",
554
+ patterns: [
555
+ {
556
+ include: "source.yaml"
557
+ }
558
+ ]
559
+ }
560
+ ]
561
+ },
562
+ fenced_code_block_dosbatch: {
563
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(bat|batch)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
564
+ name: "markup.fenced_code.block.markdown",
565
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
566
+ beginCaptures: {
567
+ "3": {
568
+ name: "punctuation.definition.markdown"
569
+ },
570
+ "4": {
571
+ name: "fenced_code.block.language.markdown"
572
+ },
573
+ "5": {
574
+ name: "fenced_code.block.language.attributes.markdown"
575
+ }
576
+ },
577
+ endCaptures: {
578
+ "3": {
579
+ name: "punctuation.definition.markdown"
580
+ }
581
+ },
582
+ patterns: [
583
+ {
584
+ begin: "(^|\\G)(\\s*)(.*)",
585
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
586
+ contentName: "meta.embedded.block.dosbatch",
587
+ patterns: [
588
+ {
589
+ include: "source.batchfile"
590
+ }
591
+ ]
592
+ }
593
+ ]
594
+ },
595
+ fenced_code_block_clojure: {
596
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(clj|cljs|clojure)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
597
+ name: "markup.fenced_code.block.markdown",
598
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
599
+ beginCaptures: {
600
+ "3": {
601
+ name: "punctuation.definition.markdown"
602
+ },
603
+ "4": {
604
+ name: "fenced_code.block.language.markdown"
605
+ },
606
+ "5": {
607
+ name: "fenced_code.block.language.attributes.markdown"
608
+ }
609
+ },
610
+ endCaptures: {
611
+ "3": {
612
+ name: "punctuation.definition.markdown"
613
+ }
614
+ },
615
+ patterns: [
616
+ {
617
+ begin: "(^|\\G)(\\s*)(.*)",
618
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
619
+ contentName: "meta.embedded.block.clojure",
620
+ patterns: [
621
+ {
622
+ include: "source.clojure"
623
+ }
624
+ ]
625
+ }
626
+ ]
627
+ },
628
+ fenced_code_block_coffee: {
629
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(coffee|Cakefile|coffee.erb)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
630
+ name: "markup.fenced_code.block.markdown",
631
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
632
+ beginCaptures: {
633
+ "3": {
634
+ name: "punctuation.definition.markdown"
635
+ },
636
+ "4": {
637
+ name: "fenced_code.block.language.markdown"
638
+ },
639
+ "5": {
640
+ name: "fenced_code.block.language.attributes.markdown"
641
+ }
642
+ },
643
+ endCaptures: {
644
+ "3": {
645
+ name: "punctuation.definition.markdown"
646
+ }
647
+ },
648
+ patterns: [
649
+ {
650
+ begin: "(^|\\G)(\\s*)(.*)",
651
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
652
+ contentName: "meta.embedded.block.coffee",
653
+ patterns: [
654
+ {
655
+ include: "source.coffee"
656
+ }
657
+ ]
658
+ }
659
+ ]
660
+ },
661
+ fenced_code_block_c: {
662
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(c|h)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
663
+ name: "markup.fenced_code.block.markdown",
664
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
665
+ beginCaptures: {
666
+ "3": {
667
+ name: "punctuation.definition.markdown"
668
+ },
669
+ "4": {
670
+ name: "fenced_code.block.language.markdown"
671
+ },
672
+ "5": {
673
+ name: "fenced_code.block.language.attributes.markdown"
674
+ }
675
+ },
676
+ endCaptures: {
677
+ "3": {
678
+ name: "punctuation.definition.markdown"
679
+ }
680
+ },
681
+ patterns: [
682
+ {
683
+ begin: "(^|\\G)(\\s*)(.*)",
684
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
685
+ contentName: "meta.embedded.block.c",
686
+ patterns: [
687
+ {
688
+ include: "source.c"
689
+ }
690
+ ]
691
+ }
692
+ ]
693
+ },
694
+ fenced_code_block_cpp: {
695
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(cpp|c\\+\\+|cxx)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
696
+ name: "markup.fenced_code.block.markdown",
697
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
698
+ beginCaptures: {
699
+ "3": {
700
+ name: "punctuation.definition.markdown"
701
+ },
702
+ "4": {
703
+ name: "fenced_code.block.language.markdown"
704
+ },
705
+ "5": {
706
+ name: "fenced_code.block.language.attributes.markdown"
707
+ }
708
+ },
709
+ endCaptures: {
710
+ "3": {
711
+ name: "punctuation.definition.markdown"
712
+ }
713
+ },
714
+ patterns: [
715
+ {
716
+ begin: "(^|\\G)(\\s*)(.*)",
717
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
718
+ contentName: "meta.embedded.block.cpp source.cpp",
719
+ patterns: [
720
+ {
721
+ include: "source.cpp"
722
+ }
723
+ ]
724
+ }
725
+ ]
726
+ },
727
+ fenced_code_block_diff: {
728
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(patch|diff|rej)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
729
+ name: "markup.fenced_code.block.markdown",
730
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
731
+ beginCaptures: {
732
+ "3": {
733
+ name: "punctuation.definition.markdown"
734
+ },
735
+ "4": {
736
+ name: "fenced_code.block.language.markdown"
737
+ },
738
+ "5": {
739
+ name: "fenced_code.block.language.attributes.markdown"
740
+ }
741
+ },
742
+ endCaptures: {
743
+ "3": {
744
+ name: "punctuation.definition.markdown"
745
+ }
746
+ },
747
+ patterns: [
748
+ {
749
+ begin: "(^|\\G)(\\s*)(.*)",
750
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
751
+ contentName: "meta.embedded.block.diff",
752
+ patterns: [
753
+ {
754
+ include: "source.diff"
755
+ }
756
+ ]
757
+ }
758
+ ]
759
+ },
760
+ fenced_code_block_dockerfile: {
761
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(dockerfile|Dockerfile)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
762
+ name: "markup.fenced_code.block.markdown",
763
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
764
+ beginCaptures: {
765
+ "3": {
766
+ name: "punctuation.definition.markdown"
767
+ },
768
+ "4": {
769
+ name: "fenced_code.block.language.markdown"
770
+ },
771
+ "5": {
772
+ name: "fenced_code.block.language.attributes.markdown"
773
+ }
774
+ },
775
+ endCaptures: {
776
+ "3": {
777
+ name: "punctuation.definition.markdown"
778
+ }
779
+ },
780
+ patterns: [
781
+ {
782
+ begin: "(^|\\G)(\\s*)(.*)",
783
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
784
+ contentName: "meta.embedded.block.dockerfile",
785
+ patterns: [
786
+ {
787
+ include: "source.dockerfile"
788
+ }
789
+ ]
790
+ }
791
+ ]
792
+ },
793
+ fenced_code_block_git_commit: {
794
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(COMMIT_EDITMSG|MERGE_MSG)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
795
+ name: "markup.fenced_code.block.markdown",
796
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
797
+ beginCaptures: {
798
+ "3": {
799
+ name: "punctuation.definition.markdown"
800
+ },
801
+ "4": {
802
+ name: "fenced_code.block.language.markdown"
803
+ },
804
+ "5": {
805
+ name: "fenced_code.block.language.attributes.markdown"
806
+ }
807
+ },
808
+ endCaptures: {
809
+ "3": {
810
+ name: "punctuation.definition.markdown"
811
+ }
812
+ },
813
+ patterns: [
814
+ {
815
+ begin: "(^|\\G)(\\s*)(.*)",
816
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
817
+ contentName: "meta.embedded.block.git_commit",
818
+ patterns: [
819
+ {
820
+ include: "text.git-commit"
821
+ }
822
+ ]
823
+ }
824
+ ]
825
+ },
826
+ fenced_code_block_git_rebase: {
827
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(git-rebase-todo)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
828
+ name: "markup.fenced_code.block.markdown",
829
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
830
+ beginCaptures: {
831
+ "3": {
832
+ name: "punctuation.definition.markdown"
833
+ },
834
+ "4": {
835
+ name: "fenced_code.block.language.markdown"
836
+ },
837
+ "5": {
838
+ name: "fenced_code.block.language.attributes.markdown"
839
+ }
840
+ },
841
+ endCaptures: {
842
+ "3": {
843
+ name: "punctuation.definition.markdown"
844
+ }
845
+ },
846
+ patterns: [
847
+ {
848
+ begin: "(^|\\G)(\\s*)(.*)",
849
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
850
+ contentName: "meta.embedded.block.git_rebase",
851
+ patterns: [
852
+ {
853
+ include: "text.git-rebase"
854
+ }
855
+ ]
856
+ }
857
+ ]
858
+ },
859
+ fenced_code_block_go: {
860
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(go|golang)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
861
+ name: "markup.fenced_code.block.markdown",
862
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
863
+ beginCaptures: {
864
+ "3": {
865
+ name: "punctuation.definition.markdown"
866
+ },
867
+ "4": {
868
+ name: "fenced_code.block.language.markdown"
869
+ },
870
+ "5": {
871
+ name: "fenced_code.block.language.attributes.markdown"
872
+ }
873
+ },
874
+ endCaptures: {
875
+ "3": {
876
+ name: "punctuation.definition.markdown"
877
+ }
878
+ },
879
+ patterns: [
880
+ {
881
+ begin: "(^|\\G)(\\s*)(.*)",
882
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
883
+ contentName: "meta.embedded.block.go",
884
+ patterns: [
885
+ {
886
+ include: "source.go"
887
+ }
888
+ ]
889
+ }
890
+ ]
891
+ },
892
+ fenced_code_block_groovy: {
893
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(groovy|gvy)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
894
+ name: "markup.fenced_code.block.markdown",
895
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
896
+ beginCaptures: {
897
+ "3": {
898
+ name: "punctuation.definition.markdown"
899
+ },
900
+ "4": {
901
+ name: "fenced_code.block.language.markdown"
902
+ },
903
+ "5": {
904
+ name: "fenced_code.block.language.attributes.markdown"
905
+ }
906
+ },
907
+ endCaptures: {
908
+ "3": {
909
+ name: "punctuation.definition.markdown"
910
+ }
911
+ },
912
+ patterns: [
913
+ {
914
+ begin: "(^|\\G)(\\s*)(.*)",
915
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
916
+ contentName: "meta.embedded.block.groovy",
917
+ patterns: [
918
+ {
919
+ include: "source.groovy"
920
+ }
921
+ ]
922
+ }
923
+ ]
924
+ },
925
+ fenced_code_block_pug: {
926
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jade|pug)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
927
+ name: "markup.fenced_code.block.markdown",
928
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
929
+ beginCaptures: {
930
+ "3": {
931
+ name: "punctuation.definition.markdown"
932
+ },
933
+ "4": {
934
+ name: "fenced_code.block.language.markdown"
935
+ },
936
+ "5": {
937
+ name: "fenced_code.block.language.attributes.markdown"
938
+ }
939
+ },
940
+ endCaptures: {
941
+ "3": {
942
+ name: "punctuation.definition.markdown"
943
+ }
944
+ },
945
+ patterns: [
946
+ {
947
+ begin: "(^|\\G)(\\s*)(.*)",
948
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
949
+ contentName: "meta.embedded.block.pug",
950
+ patterns: [
951
+ {
952
+ include: "text.pug"
953
+ }
954
+ ]
955
+ }
956
+ ]
957
+ },
958
+ fenced_code_block_js: {
959
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs|cjs|\\{\\.js.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
960
+ name: "markup.fenced_code.block.markdown",
961
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
962
+ beginCaptures: {
963
+ "3": {
964
+ name: "punctuation.definition.markdown"
965
+ },
966
+ "4": {
967
+ name: "fenced_code.block.language.markdown"
968
+ },
969
+ "5": {
970
+ name: "fenced_code.block.language.attributes.markdown"
971
+ }
972
+ },
973
+ endCaptures: {
974
+ "3": {
975
+ name: "punctuation.definition.markdown"
976
+ }
977
+ },
978
+ patterns: [
979
+ {
980
+ begin: "(^|\\G)(\\s*)(.*)",
981
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
982
+ contentName: "meta.embedded.block.javascript",
983
+ patterns: [
984
+ {
985
+ include: "source.js"
986
+ }
987
+ ]
988
+ }
989
+ ]
990
+ },
991
+ fenced_code_block_js_regexp: {
992
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(regexp)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
993
+ name: "markup.fenced_code.block.markdown",
994
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
995
+ beginCaptures: {
996
+ "3": {
997
+ name: "punctuation.definition.markdown"
998
+ },
999
+ "4": {
1000
+ name: "fenced_code.block.language.markdown"
1001
+ },
1002
+ "5": {
1003
+ name: "fenced_code.block.language.attributes.markdown"
1004
+ }
1005
+ },
1006
+ endCaptures: {
1007
+ "3": {
1008
+ name: "punctuation.definition.markdown"
1009
+ }
1010
+ },
1011
+ patterns: [
1012
+ {
1013
+ begin: "(^|\\G)(\\s*)(.*)",
1014
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1015
+ contentName: "meta.embedded.block.js_regexp",
1016
+ patterns: [
1017
+ {
1018
+ include: "source.js.regexp"
1019
+ }
1020
+ ]
1021
+ }
1022
+ ]
1023
+ },
1024
+ fenced_code_block_json: {
1025
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(json|json5|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1026
+ name: "markup.fenced_code.block.markdown",
1027
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1028
+ beginCaptures: {
1029
+ "3": {
1030
+ name: "punctuation.definition.markdown"
1031
+ },
1032
+ "4": {
1033
+ name: "fenced_code.block.language.markdown"
1034
+ },
1035
+ "5": {
1036
+ name: "fenced_code.block.language.attributes.markdown"
1037
+ }
1038
+ },
1039
+ endCaptures: {
1040
+ "3": {
1041
+ name: "punctuation.definition.markdown"
1042
+ }
1043
+ },
1044
+ patterns: [
1045
+ {
1046
+ begin: "(^|\\G)(\\s*)(.*)",
1047
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1048
+ contentName: "meta.embedded.block.json",
1049
+ patterns: [
1050
+ {
1051
+ include: "source.json"
1052
+ }
1053
+ ]
1054
+ }
1055
+ ]
1056
+ },
1057
+ fenced_code_block_jsonc: {
1058
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jsonc)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1059
+ name: "markup.fenced_code.block.markdown",
1060
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1061
+ beginCaptures: {
1062
+ "3": {
1063
+ name: "punctuation.definition.markdown"
1064
+ },
1065
+ "4": {
1066
+ name: "fenced_code.block.language.markdown"
1067
+ },
1068
+ "5": {
1069
+ name: "fenced_code.block.language.attributes.markdown"
1070
+ }
1071
+ },
1072
+ endCaptures: {
1073
+ "3": {
1074
+ name: "punctuation.definition.markdown"
1075
+ }
1076
+ },
1077
+ patterns: [
1078
+ {
1079
+ begin: "(^|\\G)(\\s*)(.*)",
1080
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1081
+ contentName: "meta.embedded.block.jsonc",
1082
+ patterns: [
1083
+ {
1084
+ include: "source.json.comments"
1085
+ }
1086
+ ]
1087
+ }
1088
+ ]
1089
+ },
1090
+ fenced_code_block_less: {
1091
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(less)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1092
+ name: "markup.fenced_code.block.markdown",
1093
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1094
+ beginCaptures: {
1095
+ "3": {
1096
+ name: "punctuation.definition.markdown"
1097
+ },
1098
+ "4": {
1099
+ name: "fenced_code.block.language.markdown"
1100
+ },
1101
+ "5": {
1102
+ name: "fenced_code.block.language.attributes.markdown"
1103
+ }
1104
+ },
1105
+ endCaptures: {
1106
+ "3": {
1107
+ name: "punctuation.definition.markdown"
1108
+ }
1109
+ },
1110
+ patterns: [
1111
+ {
1112
+ begin: "(^|\\G)(\\s*)(.*)",
1113
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1114
+ contentName: "meta.embedded.block.less",
1115
+ patterns: [
1116
+ {
1117
+ include: "source.css.less"
1118
+ }
1119
+ ]
1120
+ }
1121
+ ]
1122
+ },
1123
+ fenced_code_block_objc: {
1124
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(objectivec|objective-c|mm|objc|obj-c|m|h)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1125
+ name: "markup.fenced_code.block.markdown",
1126
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1127
+ beginCaptures: {
1128
+ "3": {
1129
+ name: "punctuation.definition.markdown"
1130
+ },
1131
+ "4": {
1132
+ name: "fenced_code.block.language.markdown"
1133
+ },
1134
+ "5": {
1135
+ name: "fenced_code.block.language.attributes.markdown"
1136
+ }
1137
+ },
1138
+ endCaptures: {
1139
+ "3": {
1140
+ name: "punctuation.definition.markdown"
1141
+ }
1142
+ },
1143
+ patterns: [
1144
+ {
1145
+ begin: "(^|\\G)(\\s*)(.*)",
1146
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1147
+ contentName: "meta.embedded.block.objc",
1148
+ patterns: [
1149
+ {
1150
+ include: "source.objc"
1151
+ }
1152
+ ]
1153
+ }
1154
+ ]
1155
+ },
1156
+ fenced_code_block_swift: {
1157
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(swift)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1158
+ name: "markup.fenced_code.block.markdown",
1159
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1160
+ beginCaptures: {
1161
+ "3": {
1162
+ name: "punctuation.definition.markdown"
1163
+ },
1164
+ "4": {
1165
+ name: "fenced_code.block.language.markdown"
1166
+ },
1167
+ "5": {
1168
+ name: "fenced_code.block.language.attributes.markdown"
1169
+ }
1170
+ },
1171
+ endCaptures: {
1172
+ "3": {
1173
+ name: "punctuation.definition.markdown"
1174
+ }
1175
+ },
1176
+ patterns: [
1177
+ {
1178
+ begin: "(^|\\G)(\\s*)(.*)",
1179
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1180
+ contentName: "meta.embedded.block.swift",
1181
+ patterns: [
1182
+ {
1183
+ include: "source.swift"
1184
+ }
1185
+ ]
1186
+ }
1187
+ ]
1188
+ },
1189
+ fenced_code_block_scss: {
1190
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(scss)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1191
+ name: "markup.fenced_code.block.markdown",
1192
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1193
+ beginCaptures: {
1194
+ "3": {
1195
+ name: "punctuation.definition.markdown"
1196
+ },
1197
+ "4": {
1198
+ name: "fenced_code.block.language.markdown"
1199
+ },
1200
+ "5": {
1201
+ name: "fenced_code.block.language.attributes.markdown"
1202
+ }
1203
+ },
1204
+ endCaptures: {
1205
+ "3": {
1206
+ name: "punctuation.definition.markdown"
1207
+ }
1208
+ },
1209
+ patterns: [
1210
+ {
1211
+ begin: "(^|\\G)(\\s*)(.*)",
1212
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1213
+ contentName: "meta.embedded.block.scss",
1214
+ patterns: [
1215
+ {
1216
+ include: "source.css.scss"
1217
+ }
1218
+ ]
1219
+ }
1220
+ ]
1221
+ },
1222
+ fenced_code_block_perl6: {
1223
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl6|p6|pl6|pm6|nqp)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1224
+ name: "markup.fenced_code.block.markdown",
1225
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1226
+ beginCaptures: {
1227
+ "3": {
1228
+ name: "punctuation.definition.markdown"
1229
+ },
1230
+ "4": {
1231
+ name: "fenced_code.block.language.markdown"
1232
+ },
1233
+ "5": {
1234
+ name: "fenced_code.block.language.attributes.markdown"
1235
+ }
1236
+ },
1237
+ endCaptures: {
1238
+ "3": {
1239
+ name: "punctuation.definition.markdown"
1240
+ }
1241
+ },
1242
+ patterns: [
1243
+ {
1244
+ begin: "(^|\\G)(\\s*)(.*)",
1245
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1246
+ contentName: "meta.embedded.block.perl6",
1247
+ patterns: [
1248
+ {
1249
+ include: "source.perl.6"
1250
+ }
1251
+ ]
1252
+ }
1253
+ ]
1254
+ },
1255
+ fenced_code_block_powershell: {
1256
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(powershell|ps1|psm1|psd1)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1257
+ name: "markup.fenced_code.block.markdown",
1258
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1259
+ beginCaptures: {
1260
+ "3": {
1261
+ name: "punctuation.definition.markdown"
1262
+ },
1263
+ "4": {
1264
+ name: "fenced_code.block.language.markdown"
1265
+ },
1266
+ "5": {
1267
+ name: "fenced_code.block.language.attributes.markdown"
1268
+ }
1269
+ },
1270
+ endCaptures: {
1271
+ "3": {
1272
+ name: "punctuation.definition.markdown"
1273
+ }
1274
+ },
1275
+ patterns: [
1276
+ {
1277
+ begin: "(^|\\G)(\\s*)(.*)",
1278
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1279
+ contentName: "meta.embedded.block.powershell",
1280
+ patterns: [
1281
+ {
1282
+ include: "source.powershell"
1283
+ }
1284
+ ]
1285
+ }
1286
+ ]
1287
+ },
1288
+ fenced_code_block_python: {
1289
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(python|py|py3|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gyp|gypi|\\{\\.python.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1290
+ name: "markup.fenced_code.block.markdown",
1291
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1292
+ beginCaptures: {
1293
+ "3": {
1294
+ name: "punctuation.definition.markdown"
1295
+ },
1296
+ "4": {
1297
+ name: "fenced_code.block.language.markdown"
1298
+ },
1299
+ "5": {
1300
+ name: "fenced_code.block.language.attributes.markdown"
1301
+ }
1302
+ },
1303
+ endCaptures: {
1304
+ "3": {
1305
+ name: "punctuation.definition.markdown"
1306
+ }
1307
+ },
1308
+ patterns: [
1309
+ {
1310
+ begin: "(^|\\G)(\\s*)(.*)",
1311
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1312
+ contentName: "meta.embedded.block.python",
1313
+ patterns: [
1314
+ {
1315
+ include: "source.python"
1316
+ }
1317
+ ]
1318
+ }
1319
+ ]
1320
+ },
1321
+ fenced_code_block_regexp_python: {
1322
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(re)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1323
+ name: "markup.fenced_code.block.markdown",
1324
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1325
+ beginCaptures: {
1326
+ "3": {
1327
+ name: "punctuation.definition.markdown"
1328
+ },
1329
+ "4": {
1330
+ name: "fenced_code.block.language.markdown"
1331
+ },
1332
+ "5": {
1333
+ name: "fenced_code.block.language.attributes.markdown"
1334
+ }
1335
+ },
1336
+ endCaptures: {
1337
+ "3": {
1338
+ name: "punctuation.definition.markdown"
1339
+ }
1340
+ },
1341
+ patterns: [
1342
+ {
1343
+ begin: "(^|\\G)(\\s*)(.*)",
1344
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1345
+ contentName: "meta.embedded.block.regexp_python",
1346
+ patterns: [
1347
+ {
1348
+ include: "source.regexp.python"
1349
+ }
1350
+ ]
1351
+ }
1352
+ ]
1353
+ },
1354
+ fenced_code_block_rust: {
1355
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(rust|rs|\\{\\.rust.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1356
+ name: "markup.fenced_code.block.markdown",
1357
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1358
+ beginCaptures: {
1359
+ "3": {
1360
+ name: "punctuation.definition.markdown"
1361
+ },
1362
+ "4": {
1363
+ name: "fenced_code.block.language.markdown"
1364
+ },
1365
+ "5": {
1366
+ name: "fenced_code.block.language.attributes.markdown"
1367
+ }
1368
+ },
1369
+ endCaptures: {
1370
+ "3": {
1371
+ name: "punctuation.definition.markdown"
1372
+ }
1373
+ },
1374
+ patterns: [
1375
+ {
1376
+ begin: "(^|\\G)(\\s*)(.*)",
1377
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1378
+ contentName: "meta.embedded.block.rust",
1379
+ patterns: [
1380
+ {
1381
+ include: "source.rust"
1382
+ }
1383
+ ]
1384
+ }
1385
+ ]
1386
+ },
1387
+ fenced_code_block_scala: {
1388
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(scala|sbt)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1389
+ name: "markup.fenced_code.block.markdown",
1390
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1391
+ beginCaptures: {
1392
+ "3": {
1393
+ name: "punctuation.definition.markdown"
1394
+ },
1395
+ "4": {
1396
+ name: "fenced_code.block.language.markdown"
1397
+ },
1398
+ "5": {
1399
+ name: "fenced_code.block.language.attributes.markdown"
1400
+ }
1401
+ },
1402
+ endCaptures: {
1403
+ "3": {
1404
+ name: "punctuation.definition.markdown"
1405
+ }
1406
+ },
1407
+ patterns: [
1408
+ {
1409
+ begin: "(^|\\G)(\\s*)(.*)",
1410
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1411
+ contentName: "meta.embedded.block.scala",
1412
+ patterns: [
1413
+ {
1414
+ include: "source.scala"
1415
+ }
1416
+ ]
1417
+ }
1418
+ ]
1419
+ },
1420
+ fenced_code_block_shell: {
1421
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init|\\{\\.bash.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1422
+ name: "markup.fenced_code.block.markdown",
1423
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1424
+ beginCaptures: {
1425
+ "3": {
1426
+ name: "punctuation.definition.markdown"
1427
+ },
1428
+ "4": {
1429
+ name: "fenced_code.block.language.markdown"
1430
+ },
1431
+ "5": {
1432
+ name: "fenced_code.block.language.attributes.markdown"
1433
+ }
1434
+ },
1435
+ endCaptures: {
1436
+ "3": {
1437
+ name: "punctuation.definition.markdown"
1438
+ }
1439
+ },
1440
+ patterns: [
1441
+ {
1442
+ begin: "(^|\\G)(\\s*)(.*)",
1443
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1444
+ contentName: "meta.embedded.block.shellscript",
1445
+ patterns: [
1446
+ {
1447
+ include: "source.shell"
1448
+ }
1449
+ ]
1450
+ }
1451
+ ]
1452
+ },
1453
+ fenced_code_block_ts: {
1454
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(typescript|ts)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1455
+ name: "markup.fenced_code.block.markdown",
1456
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1457
+ beginCaptures: {
1458
+ "3": {
1459
+ name: "punctuation.definition.markdown"
1460
+ },
1461
+ "4": {
1462
+ name: "fenced_code.block.language.markdown"
1463
+ },
1464
+ "5": {
1465
+ name: "fenced_code.block.language.attributes.markdown"
1466
+ }
1467
+ },
1468
+ endCaptures: {
1469
+ "3": {
1470
+ name: "punctuation.definition.markdown"
1471
+ }
1472
+ },
1473
+ patterns: [
1474
+ {
1475
+ begin: "(^|\\G)(\\s*)(.*)",
1476
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1477
+ contentName: "meta.embedded.block.typescript",
1478
+ patterns: [
1479
+ {
1480
+ include: "source.ts"
1481
+ }
1482
+ ]
1483
+ }
1484
+ ]
1485
+ },
1486
+ fenced_code_block_tsx: {
1487
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(tsx)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1488
+ name: "markup.fenced_code.block.markdown",
1489
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1490
+ beginCaptures: {
1491
+ "3": {
1492
+ name: "punctuation.definition.markdown"
1493
+ },
1494
+ "4": {
1495
+ name: "fenced_code.block.language.markdown"
1496
+ },
1497
+ "5": {
1498
+ name: "fenced_code.block.language.attributes.markdown"
1499
+ }
1500
+ },
1501
+ endCaptures: {
1502
+ "3": {
1503
+ name: "punctuation.definition.markdown"
1504
+ }
1505
+ },
1506
+ patterns: [
1507
+ {
1508
+ begin: "(^|\\G)(\\s*)(.*)",
1509
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1510
+ contentName: "meta.embedded.block.typescriptreact",
1511
+ patterns: [
1512
+ {
1513
+ include: "source.tsx"
1514
+ }
1515
+ ]
1516
+ }
1517
+ ]
1518
+ },
1519
+ fenced_code_block_csharp: {
1520
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(cs|csharp|c#)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1521
+ name: "markup.fenced_code.block.markdown",
1522
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1523
+ beginCaptures: {
1524
+ "3": {
1525
+ name: "punctuation.definition.markdown"
1526
+ },
1527
+ "4": {
1528
+ name: "fenced_code.block.language.markdown"
1529
+ },
1530
+ "5": {
1531
+ name: "fenced_code.block.language.attributes.markdown"
1532
+ }
1533
+ },
1534
+ endCaptures: {
1535
+ "3": {
1536
+ name: "punctuation.definition.markdown"
1537
+ }
1538
+ },
1539
+ patterns: [
1540
+ {
1541
+ begin: "(^|\\G)(\\s*)(.*)",
1542
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1543
+ contentName: "meta.embedded.block.csharp",
1544
+ patterns: [
1545
+ {
1546
+ include: "source.cs"
1547
+ }
1548
+ ]
1549
+ }
1550
+ ]
1551
+ },
1552
+ fenced_code_block_fsharp: {
1553
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(fs|fsharp|f#)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1554
+ name: "markup.fenced_code.block.markdown",
1555
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1556
+ beginCaptures: {
1557
+ "3": {
1558
+ name: "punctuation.definition.markdown"
1559
+ },
1560
+ "4": {
1561
+ name: "fenced_code.block.language.markdown"
1562
+ },
1563
+ "5": {
1564
+ name: "fenced_code.block.language.attributes.markdown"
1565
+ }
1566
+ },
1567
+ endCaptures: {
1568
+ "3": {
1569
+ name: "punctuation.definition.markdown"
1570
+ }
1571
+ },
1572
+ patterns: [
1573
+ {
1574
+ begin: "(^|\\G)(\\s*)(.*)",
1575
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1576
+ contentName: "meta.embedded.block.fsharp",
1577
+ patterns: [
1578
+ {
1579
+ include: "source.fsharp"
1580
+ }
1581
+ ]
1582
+ }
1583
+ ]
1584
+ },
1585
+ fenced_code_block_dart: {
1586
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(dart)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1587
+ name: "markup.fenced_code.block.markdown",
1588
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1589
+ beginCaptures: {
1590
+ "3": {
1591
+ name: "punctuation.definition.markdown"
1592
+ },
1593
+ "4": {
1594
+ name: "fenced_code.block.language.markdown"
1595
+ },
1596
+ "5": {
1597
+ name: "fenced_code.block.language.attributes.markdown"
1598
+ }
1599
+ },
1600
+ endCaptures: {
1601
+ "3": {
1602
+ name: "punctuation.definition.markdown"
1603
+ }
1604
+ },
1605
+ patterns: [
1606
+ {
1607
+ begin: "(^|\\G)(\\s*)(.*)",
1608
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1609
+ contentName: "meta.embedded.block.dart",
1610
+ patterns: [
1611
+ {
1612
+ include: "source.dart"
1613
+ }
1614
+ ]
1615
+ }
1616
+ ]
1617
+ },
1618
+ fenced_code_block_handlebars: {
1619
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(handlebars|hbs)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1620
+ name: "markup.fenced_code.block.markdown",
1621
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1622
+ beginCaptures: {
1623
+ "3": {
1624
+ name: "punctuation.definition.markdown"
1625
+ },
1626
+ "4": {
1627
+ name: "fenced_code.block.language.markdown"
1628
+ },
1629
+ "5": {
1630
+ name: "fenced_code.block.language.attributes.markdown"
1631
+ }
1632
+ },
1633
+ endCaptures: {
1634
+ "3": {
1635
+ name: "punctuation.definition.markdown"
1636
+ }
1637
+ },
1638
+ patterns: [
1639
+ {
1640
+ begin: "(^|\\G)(\\s*)(.*)",
1641
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1642
+ contentName: "meta.embedded.block.handlebars",
1643
+ patterns: [
1644
+ {
1645
+ include: "text.html.handlebars"
1646
+ }
1647
+ ]
1648
+ }
1649
+ ]
1650
+ },
1651
+ fenced_code_block_markdown: {
1652
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(markdown|md)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1653
+ name: "markup.fenced_code.block.markdown",
1654
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1655
+ beginCaptures: {
1656
+ "3": {
1657
+ name: "punctuation.definition.markdown"
1658
+ },
1659
+ "4": {
1660
+ name: "fenced_code.block.language.markdown"
1661
+ },
1662
+ "5": {
1663
+ name: "fenced_code.block.language.attributes.markdown"
1664
+ }
1665
+ },
1666
+ endCaptures: {
1667
+ "3": {
1668
+ name: "punctuation.definition.markdown"
1669
+ }
1670
+ },
1671
+ patterns: [
1672
+ {
1673
+ begin: "(^|\\G)(\\s*)(.*)",
1674
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1675
+ contentName: "meta.embedded.block.markdown",
1676
+ patterns: [
1677
+ {
1678
+ include: "text.html.markdown"
1679
+ }
1680
+ ]
1681
+ }
1682
+ ]
1683
+ },
1684
+ fenced_code_block_log: {
1685
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(log)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1686
+ name: "markup.fenced_code.block.markdown",
1687
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1688
+ beginCaptures: {
1689
+ "3": {
1690
+ name: "punctuation.definition.markdown"
1691
+ },
1692
+ "4": {
1693
+ name: "fenced_code.block.language.markdown"
1694
+ },
1695
+ "5": {
1696
+ name: "fenced_code.block.language.attributes.markdown"
1697
+ }
1698
+ },
1699
+ endCaptures: {
1700
+ "3": {
1701
+ name: "punctuation.definition.markdown"
1702
+ }
1703
+ },
1704
+ patterns: [
1705
+ {
1706
+ begin: "(^|\\G)(\\s*)(.*)",
1707
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1708
+ contentName: "meta.embedded.block.log",
1709
+ patterns: [
1710
+ {
1711
+ include: "text.log"
1712
+ }
1713
+ ]
1714
+ }
1715
+ ]
1716
+ },
1717
+ fenced_code_block_erlang: {
1718
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(erlang)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1719
+ name: "markup.fenced_code.block.markdown",
1720
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1721
+ beginCaptures: {
1722
+ "3": {
1723
+ name: "punctuation.definition.markdown"
1724
+ },
1725
+ "4": {
1726
+ name: "fenced_code.block.language.markdown"
1727
+ },
1728
+ "5": {
1729
+ name: "fenced_code.block.language.attributes.markdown"
1730
+ }
1731
+ },
1732
+ endCaptures: {
1733
+ "3": {
1734
+ name: "punctuation.definition.markdown"
1735
+ }
1736
+ },
1737
+ patterns: [
1738
+ {
1739
+ begin: "(^|\\G)(\\s*)(.*)",
1740
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1741
+ contentName: "meta.embedded.block.erlang",
1742
+ patterns: [
1743
+ {
1744
+ include: "source.erlang"
1745
+ }
1746
+ ]
1747
+ }
1748
+ ]
1749
+ },
1750
+ fenced_code_block_elixir: {
1751
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(elixir)((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
1752
+ name: "markup.fenced_code.block.markdown",
1753
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1754
+ beginCaptures: {
1755
+ "3": {
1756
+ name: "punctuation.definition.markdown"
1757
+ },
1758
+ "4": {
1759
+ name: "fenced_code.block.language.markdown"
1760
+ },
1761
+ "5": {
1762
+ name: "fenced_code.block.language.attributes.markdown"
1763
+ }
1764
+ },
1765
+ endCaptures: {
1766
+ "3": {
1767
+ name: "punctuation.definition.markdown"
1768
+ }
1769
+ },
1770
+ patterns: [
1771
+ {
1772
+ begin: "(^|\\G)(\\s*)(.*)",
1773
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
1774
+ contentName: "meta.embedded.block.elixir",
1775
+ patterns: [
1776
+ {
1777
+ include: "source.elixir"
1778
+ }
1779
+ ]
1780
+ }
1781
+ ]
1782
+ },
1783
+ fenced_code_block: {
1784
+ patterns: [
1785
+ {
1786
+ include: "#fenced_code_block_css"
1787
+ },
1788
+ {
1789
+ include: "#fenced_code_block_basic"
1790
+ },
1791
+ {
1792
+ include: "#fenced_code_block_ini"
1793
+ },
1794
+ {
1795
+ include: "#fenced_code_block_java"
1796
+ },
1797
+ {
1798
+ include: "#fenced_code_block_lua"
1799
+ },
1800
+ {
1801
+ include: "#fenced_code_block_makefile"
1802
+ },
1803
+ {
1804
+ include: "#fenced_code_block_perl"
1805
+ },
1806
+ {
1807
+ include: "#fenced_code_block_r"
1808
+ },
1809
+ {
1810
+ include: "#fenced_code_block_ruby"
1811
+ },
1812
+ {
1813
+ include: "#fenced_code_block_php"
1814
+ },
1815
+ {
1816
+ include: "#fenced_code_block_sql"
1817
+ },
1818
+ {
1819
+ include: "#fenced_code_block_vs_net"
1820
+ },
1821
+ {
1822
+ include: "#fenced_code_block_xml"
1823
+ },
1824
+ {
1825
+ include: "#fenced_code_block_xsl"
1826
+ },
1827
+ {
1828
+ include: "#fenced_code_block_yaml"
1829
+ },
1830
+ {
1831
+ include: "#fenced_code_block_dosbatch"
1832
+ },
1833
+ {
1834
+ include: "#fenced_code_block_clojure"
1835
+ },
1836
+ {
1837
+ include: "#fenced_code_block_coffee"
1838
+ },
1839
+ {
1840
+ include: "#fenced_code_block_c"
1841
+ },
1842
+ {
1843
+ include: "#fenced_code_block_cpp"
1844
+ },
1845
+ {
1846
+ include: "#fenced_code_block_diff"
1847
+ },
1848
+ {
1849
+ include: "#fenced_code_block_dockerfile"
1850
+ },
1851
+ {
1852
+ include: "#fenced_code_block_git_commit"
1853
+ },
1854
+ {
1855
+ include: "#fenced_code_block_git_rebase"
1856
+ },
1857
+ {
1858
+ include: "#fenced_code_block_go"
1859
+ },
1860
+ {
1861
+ include: "#fenced_code_block_groovy"
1862
+ },
1863
+ {
1864
+ include: "#fenced_code_block_pug"
1865
+ },
1866
+ {
1867
+ include: "#fenced_code_block_js"
1868
+ },
1869
+ {
1870
+ include: "#fenced_code_block_js_regexp"
1871
+ },
1872
+ {
1873
+ include: "#fenced_code_block_json"
1874
+ },
1875
+ {
1876
+ include: "#fenced_code_block_jsonc"
1877
+ },
1878
+ {
1879
+ include: "#fenced_code_block_less"
1880
+ },
1881
+ {
1882
+ include: "#fenced_code_block_objc"
1883
+ },
1884
+ {
1885
+ include: "#fenced_code_block_swift"
1886
+ },
1887
+ {
1888
+ include: "#fenced_code_block_scss"
1889
+ },
1890
+ {
1891
+ include: "#fenced_code_block_perl6"
1892
+ },
1893
+ {
1894
+ include: "#fenced_code_block_powershell"
1895
+ },
1896
+ {
1897
+ include: "#fenced_code_block_python"
1898
+ },
1899
+ {
1900
+ include: "#fenced_code_block_regexp_python"
1901
+ },
1902
+ {
1903
+ include: "#fenced_code_block_rust"
1904
+ },
1905
+ {
1906
+ include: "#fenced_code_block_scala"
1907
+ },
1908
+ {
1909
+ include: "#fenced_code_block_shell"
1910
+ },
1911
+ {
1912
+ include: "#fenced_code_block_ts"
1913
+ },
1914
+ {
1915
+ include: "#fenced_code_block_tsx"
1916
+ },
1917
+ {
1918
+ include: "#fenced_code_block_csharp"
1919
+ },
1920
+ {
1921
+ include: "#fenced_code_block_fsharp"
1922
+ },
1923
+ {
1924
+ include: "#fenced_code_block_dart"
1925
+ },
1926
+ {
1927
+ include: "#fenced_code_block_handlebars"
1928
+ },
1929
+ {
1930
+ include: "#fenced_code_block_markdown"
1931
+ },
1932
+ {
1933
+ include: "#fenced_code_block_log"
1934
+ },
1935
+ {
1936
+ include: "#fenced_code_block_erlang"
1937
+ },
1938
+ {
1939
+ include: "#fenced_code_block_elixir"
1940
+ },
1941
+ {
1942
+ include: "#fenced_code_block_unknown"
1943
+ }
1944
+ ]
1945
+ },
1946
+ fenced_code_block_unknown: {
1947
+ begin: "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?=([^`~]*)?$)",
1948
+ beginCaptures: {
1949
+ "3": {
1950
+ name: "punctuation.definition.markdown"
1951
+ },
1952
+ "4": {
1953
+ name: "fenced_code.block.language"
1954
+ }
1955
+ },
1956
+ end: "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1957
+ endCaptures: {
1958
+ "3": {
1959
+ name: "punctuation.definition.markdown"
1960
+ }
1961
+ },
1962
+ name: "markup.fenced_code.block.markdown"
1963
+ },
1964
+ heading: {
1965
+ match: "(?:^|\\G)[ ]{0,3}(#{1,6}\\s+(.*?)(\\s+#{1,6})?\\s*)$",
1966
+ captures: {
1967
+ "1": {
1968
+ patterns: [
1969
+ {
1970
+ match: "(#{6})\\s+(.*?)(?:\\s+(#+))?\\s*$",
1971
+ name: "heading.6.markdown",
1972
+ captures: {
1973
+ "1": {
1974
+ name: "punctuation.definition.heading.markdown"
1975
+ },
1976
+ "2": {
1977
+ name: "entity.name.section.markdown",
1978
+ patterns: [
1979
+ {
1980
+ include: "#inline"
1981
+ },
1982
+ {
1983
+ include: "text.html.derivative"
1984
+ }
1985
+ ]
1986
+ },
1987
+ "3": {
1988
+ name: "punctuation.definition.heading.markdown"
1989
+ }
1990
+ }
1991
+ },
1992
+ {
1993
+ match: "(#{5})\\s+(.*?)(?:\\s+(#+))?\\s*$",
1994
+ name: "heading.5.markdown",
1995
+ captures: {
1996
+ "1": {
1997
+ name: "punctuation.definition.heading.markdown"
1998
+ },
1999
+ "2": {
2000
+ name: "entity.name.section.markdown",
2001
+ patterns: [
2002
+ {
2003
+ include: "#inline"
2004
+ },
2005
+ {
2006
+ include: "text.html.derivative"
2007
+ }
2008
+ ]
2009
+ },
2010
+ "3": {
2011
+ name: "punctuation.definition.heading.markdown"
2012
+ }
2013
+ }
2014
+ },
2015
+ {
2016
+ match: "(#{4})\\s+(.*?)(?:\\s+(#+))?\\s*$",
2017
+ name: "heading.4.markdown",
2018
+ captures: {
2019
+ "1": {
2020
+ name: "punctuation.definition.heading.markdown"
2021
+ },
2022
+ "2": {
2023
+ name: "entity.name.section.markdown",
2024
+ patterns: [
2025
+ {
2026
+ include: "#inline"
2027
+ },
2028
+ {
2029
+ include: "text.html.derivative"
2030
+ }
2031
+ ]
2032
+ },
2033
+ "3": {
2034
+ name: "punctuation.definition.heading.markdown"
2035
+ }
2036
+ }
2037
+ },
2038
+ {
2039
+ match: "(#{3})\\s+(.*?)(?:\\s+(#+))?\\s*$",
2040
+ name: "heading.3.markdown",
2041
+ captures: {
2042
+ "1": {
2043
+ name: "punctuation.definition.heading.markdown"
2044
+ },
2045
+ "2": {
2046
+ name: "entity.name.section.markdown",
2047
+ patterns: [
2048
+ {
2049
+ include: "#inline"
2050
+ },
2051
+ {
2052
+ include: "text.html.derivative"
2053
+ }
2054
+ ]
2055
+ },
2056
+ "3": {
2057
+ name: "punctuation.definition.heading.markdown"
2058
+ }
2059
+ }
2060
+ },
2061
+ {
2062
+ match: "(#{2})\\s+(.*?)(?:\\s+(#+))?\\s*$",
2063
+ name: "heading.2.markdown",
2064
+ captures: {
2065
+ "1": {
2066
+ name: "punctuation.definition.heading.markdown"
2067
+ },
2068
+ "2": {
2069
+ name: "entity.name.section.markdown",
2070
+ patterns: [
2071
+ {
2072
+ include: "#inline"
2073
+ },
2074
+ {
2075
+ include: "text.html.derivative"
2076
+ }
2077
+ ]
2078
+ },
2079
+ "3": {
2080
+ name: "punctuation.definition.heading.markdown"
2081
+ }
2082
+ }
2083
+ },
2084
+ {
2085
+ match: "(#{1})\\s+(.*?)(?:\\s+(#+))?\\s*$",
2086
+ name: "heading.1.markdown",
2087
+ captures: {
2088
+ "1": {
2089
+ name: "punctuation.definition.heading.markdown"
2090
+ },
2091
+ "2": {
2092
+ name: "entity.name.section.markdown",
2093
+ patterns: [
2094
+ {
2095
+ include: "#inline"
2096
+ },
2097
+ {
2098
+ include: "text.html.derivative"
2099
+ }
2100
+ ]
2101
+ },
2102
+ "3": {
2103
+ name: "punctuation.definition.heading.markdown"
2104
+ }
2105
+ }
2106
+ }
2107
+ ]
2108
+ }
2109
+ },
2110
+ name: "markup.heading.markdown",
2111
+ patterns: [
2112
+ {
2113
+ include: "#inline"
2114
+ }
2115
+ ]
2116
+ },
2117
+ "heading-setext": {
2118
+ patterns: [
2119
+ {
2120
+ match: "^(={3,})(?=[ \\t]*$\\n?)",
2121
+ name: "markup.heading.setext.1.markdown"
2122
+ },
2123
+ {
2124
+ match: "^(-{3,})(?=[ \\t]*$\\n?)",
2125
+ name: "markup.heading.setext.2.markdown"
2126
+ }
2127
+ ]
2128
+ },
2129
+ html: {
2130
+ patterns: [
2131
+ {
2132
+ begin: "(^|\\G)\\s*(<!--)",
2133
+ captures: {
2134
+ "1": {
2135
+ name: "punctuation.definition.comment.html"
2136
+ },
2137
+ "2": {
2138
+ name: "punctuation.definition.comment.html"
2139
+ }
2140
+ },
2141
+ end: "(-->)",
2142
+ name: "comment.block.html"
2143
+ },
2144
+ {
2145
+ begin: "(?i)(^|\\G)\\s*(?=<(script|style|pre)(\\s|$|>)(?!.*?</(script|style|pre)>))",
2146
+ end: "(?i)(.*)((</)(script|style|pre)(>))",
2147
+ endCaptures: {
2148
+ "1": {
2149
+ patterns: [
2150
+ {
2151
+ include: "text.html.derivative"
2152
+ }
2153
+ ]
2154
+ },
2155
+ "2": {
2156
+ name: "meta.tag.structure.$4.end.html"
2157
+ },
2158
+ "3": {
2159
+ name: "punctuation.definition.tag.begin.html"
2160
+ },
2161
+ "4": {
2162
+ name: "entity.name.tag.html"
2163
+ },
2164
+ "5": {
2165
+ name: "punctuation.definition.tag.end.html"
2166
+ }
2167
+ },
2168
+ patterns: [
2169
+ {
2170
+ begin: "(\\s*|$)",
2171
+ patterns: [
2172
+ {
2173
+ include: "text.html.derivative"
2174
+ }
2175
+ ],
2176
+ "while": "(?i)^(?!.*</(script|style|pre)>)"
2177
+ }
2178
+ ]
2179
+ },
2180
+ {
2181
+ begin: "(?i)(^|\\G)\\s*(?=</?[a-zA-Z]+[^\\s/&gt;]*(\\s|$|/?>))",
2182
+ patterns: [
2183
+ {
2184
+ include: "text.html.derivative"
2185
+ }
2186
+ ],
2187
+ "while": "^(?!\\s*$)"
2188
+ },
2189
+ {
2190
+ begin: "(^|\\G)\\s*(?=(<[a-zA-Z0-9\\-](/?>|\\s.*?>)|</[a-zA-Z0-9\\-]>)\\s*$)",
2191
+ patterns: [
2192
+ {
2193
+ include: "text.html.derivative"
2194
+ }
2195
+ ],
2196
+ "while": "^(?!\\s*$)"
2197
+ }
2198
+ ]
2199
+ },
2200
+ "link-def": {
2201
+ captures: {
2202
+ "1": {
2203
+ name: "punctuation.definition.constant.markdown"
2204
+ },
2205
+ "2": {
2206
+ name: "constant.other.reference.link.markdown"
2207
+ },
2208
+ "3": {
2209
+ name: "punctuation.definition.constant.markdown"
2210
+ },
2211
+ "4": {
2212
+ name: "punctuation.separator.key-value.markdown"
2213
+ },
2214
+ "5": {
2215
+ name: "punctuation.definition.link.markdown"
2216
+ },
2217
+ "6": {
2218
+ name: "markup.underline.link.markdown"
2219
+ },
2220
+ "7": {
2221
+ name: "punctuation.definition.link.markdown"
2222
+ },
2223
+ "8": {
2224
+ name: "markup.underline.link.markdown"
2225
+ },
2226
+ "9": {
2227
+ name: "string.other.link.description.title.markdown"
2228
+ },
2229
+ "10": {
2230
+ name: "punctuation.definition.string.begin.markdown"
2231
+ },
2232
+ "11": {
2233
+ name: "punctuation.definition.string.end.markdown"
2234
+ },
2235
+ "12": {
2236
+ name: "string.other.link.description.title.markdown"
2237
+ },
2238
+ "13": {
2239
+ name: "punctuation.definition.string.begin.markdown"
2240
+ },
2241
+ "14": {
2242
+ name: "punctuation.definition.string.end.markdown"
2243
+ },
2244
+ "15": {
2245
+ name: "string.other.link.description.title.markdown"
2246
+ },
2247
+ "16": {
2248
+ name: "punctuation.definition.string.begin.markdown"
2249
+ },
2250
+ "17": {
2251
+ name: "punctuation.definition.string.end.markdown"
2252
+ }
2253
+ },
2254
+ match: "(?x)\n \\s* # Leading whitespace\n (\\[)([^]]+?)(\\])(:) # Reference name\n [ \\t]* # Optional whitespace\n (?:(<)([^\\>]+?)(>)|(\\S+?)) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n $\n",
2255
+ name: "meta.link.reference.def.markdown"
2256
+ },
2257
+ list_paragraph: {
2258
+ begin: "(^|\\G)(?=\\S)(?![*+->]\\s|[0-9]+\\.\\s)",
2259
+ name: "meta.paragraph.markdown",
2260
+ patterns: [
2261
+ {
2262
+ include: "#inline"
2263
+ },
2264
+ {
2265
+ include: "text.html.derivative"
2266
+ },
2267
+ {
2268
+ include: "#heading-setext"
2269
+ }
2270
+ ],
2271
+ "while": "(^|\\G)(?!\\s*$|#|[ ]{0,3}([-*_>][ ]{2,}){3,}[ \\t]*$\\n?|[ ]{0,3}[*+->]|[ ]{0,3}[0-9]+\\.)"
2272
+ },
2273
+ lists: {
2274
+ patterns: [
2275
+ {
2276
+ begin: "(^|\\G)([ ]{0,3})([*+-])([ \\t])",
2277
+ beginCaptures: {
2278
+ "3": {
2279
+ name: "punctuation.definition.list.begin.markdown"
2280
+ }
2281
+ },
2282
+ comment: "Currently does not support un-indented second lines.",
2283
+ name: "markup.list.unnumbered.markdown",
2284
+ patterns: [
2285
+ {
2286
+ include: "#block"
2287
+ },
2288
+ {
2289
+ include: "#list_paragraph"
2290
+ }
2291
+ ],
2292
+ "while": "((^|\\G)([ ]{2,4}|\\t))|(^[ \\t]*$)"
2293
+ },
2294
+ {
2295
+ begin: "(^|\\G)([ ]{0,3})([0-9]+\\.)([ \\t])",
2296
+ beginCaptures: {
2297
+ "3": {
2298
+ name: "punctuation.definition.list.begin.markdown"
2299
+ }
2300
+ },
2301
+ name: "markup.list.numbered.markdown",
2302
+ patterns: [
2303
+ {
2304
+ include: "#block"
2305
+ },
2306
+ {
2307
+ include: "#list_paragraph"
2308
+ }
2309
+ ],
2310
+ "while": "((^|\\G)([ ]{2,4}|\\t))|(^[ \\t]*$)"
2311
+ }
2312
+ ]
2313
+ },
2314
+ paragraph: {
2315
+ begin: "(^|\\G)[ ]{0,3}(?=\\S)",
2316
+ name: "meta.paragraph.markdown",
2317
+ patterns: [
2318
+ {
2319
+ include: "#inline"
2320
+ },
2321
+ {
2322
+ include: "text.html.derivative"
2323
+ },
2324
+ {
2325
+ include: "#heading-setext"
2326
+ }
2327
+ ],
2328
+ "while": "(^|\\G)((?=\\s*[-=]{3,}\\s*$)|[ ]{4,}(?=\\S))"
2329
+ },
2330
+ raw_block: {
2331
+ begin: "(^|\\G)([ ]{4}|\\t)",
2332
+ name: "markup.raw.block.markdown",
2333
+ "while": "(^|\\G)([ ]{4}|\\t)"
2334
+ },
2335
+ separator: {
2336
+ match: "(^|\\G)[ ]{0,3}([\\*\\-\\_])([ ]{0,2}\\2){2,}[ \\t]*$\\n?",
2337
+ name: "meta.separator.markdown"
2338
+ },
2339
+ frontMatter: {
2340
+ begin: "\\A-{3}\\s*$",
2341
+ contentName: "meta.embedded.block.frontmatter",
2342
+ patterns: [
2343
+ {
2344
+ include: "source.yaml"
2345
+ }
2346
+ ],
2347
+ end: "(^|\\G)-{3}|\\.{3}\\s*$"
2348
+ },
2349
+ inline: {
2350
+ patterns: [
2351
+ {
2352
+ include: "#ampersand"
2353
+ },
2354
+ {
2355
+ include: "#bracket"
2356
+ },
2357
+ {
2358
+ include: "#bold"
2359
+ },
2360
+ {
2361
+ include: "#italic"
2362
+ },
2363
+ {
2364
+ include: "#raw"
2365
+ },
2366
+ {
2367
+ include: "#escape"
2368
+ },
2369
+ {
2370
+ include: "#image-inline"
2371
+ },
2372
+ {
2373
+ include: "#image-ref"
2374
+ },
2375
+ {
2376
+ include: "#link-email"
2377
+ },
2378
+ {
2379
+ include: "#link-inet"
2380
+ },
2381
+ {
2382
+ include: "#link-inline"
2383
+ },
2384
+ {
2385
+ include: "#link-ref"
2386
+ },
2387
+ {
2388
+ include: "#link-ref-literal"
2389
+ },
2390
+ {
2391
+ include: "#link-ref-shortcut"
2392
+ }
2393
+ ]
2394
+ },
2395
+ ampersand: {
2396
+ comment: "Markdown will convert this for us. We match it so that the HTML grammar will not mark it up as invalid.",
2397
+ match: "&(?!([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);)",
2398
+ name: "meta.other.valid-ampersand.markdown"
2399
+ },
2400
+ bold: {
2401
+ begin: "(?x) (?<open>(\\*\\*(?=\\w)|(?<!\\w)\\*\\*|(?<!\\w)\\b__))(?=\\S) (?=\n (\n <[^>]*+> # HTML tags\n | (?<raw>`+)([^`]|(?!(?<!`)\\k<raw>(?!`))`)*+\\k<raw>\n # Raw\n | \\\\[\\\\`*_{}\\[\\]()#.!+\\->]?+ # Escapes\n | \\[\n (\n (?<square> # Named group\n [^\\[\\]\\\\] # Match most chars\n | \\\\. # Escaped chars\n | \\[ \\g<square>*+ \\] # Nested brackets\n )*+\n \\]\n (\n ( # Reference Link\n [ ]? # Optional space\n \\[[^\\]]*+\\] # Ref name\n )\n | ( # Inline Link\n \\( # Opening paren\n [ \\t]*+ # Optional whitespace\n <?(.*?)>? # URL\n [ \\t]*+ # Optional whitespace\n ( # Optional Title\n (?<title>['\"])\n (.*?)\n \\k<title>\n )?\n \\)\n )\n )\n )\n | (?!(?<=\\S)\\k<open>). # Everything besides\n # style closer\n )++\n (?<=\\S)(?=__\\b|\\*\\*)\\k<open> # Close\n)\n",
2402
+ captures: {
2403
+ "1": {
2404
+ name: "punctuation.definition.bold.markdown"
2405
+ }
2406
+ },
2407
+ end: "(?<=\\S)(\\1)",
2408
+ name: "markup.bold.markdown",
2409
+ patterns: [
2410
+ {
2411
+ applyEndPatternLast: 1,
2412
+ begin: "(?=<[^>]*?>)",
2413
+ end: "(?<=>)",
2414
+ patterns: [
2415
+ {
2416
+ include: "text.html.derivative"
2417
+ }
2418
+ ]
2419
+ },
2420
+ {
2421
+ include: "#escape"
2422
+ },
2423
+ {
2424
+ include: "#ampersand"
2425
+ },
2426
+ {
2427
+ include: "#bracket"
2428
+ },
2429
+ {
2430
+ include: "#raw"
2431
+ },
2432
+ {
2433
+ include: "#bold"
2434
+ },
2435
+ {
2436
+ include: "#italic"
2437
+ },
2438
+ {
2439
+ include: "#image-inline"
2440
+ },
2441
+ {
2442
+ include: "#link-inline"
2443
+ },
2444
+ {
2445
+ include: "#link-inet"
2446
+ },
2447
+ {
2448
+ include: "#link-email"
2449
+ },
2450
+ {
2451
+ include: "#image-ref"
2452
+ },
2453
+ {
2454
+ include: "#link-ref-literal"
2455
+ },
2456
+ {
2457
+ include: "#link-ref"
2458
+ },
2459
+ {
2460
+ include: "#link-ref-shortcut"
2461
+ }
2462
+ ]
2463
+ },
2464
+ bracket: {
2465
+ comment: "Markdown will convert this for us. We match it so that the HTML grammar will not mark it up as invalid.",
2466
+ match: "<(?![a-zA-Z/?\\$!])",
2467
+ name: "meta.other.valid-bracket.markdown"
2468
+ },
2469
+ "escape": {
2470
+ match: "\\\\[-`*_#+.!(){}\\[\\]\\\\>]",
2471
+ name: "constant.character.escape.markdown"
2472
+ },
2473
+ "image-inline": {
2474
+ captures: {
2475
+ "1": {
2476
+ name: "punctuation.definition.string.begin.markdown"
2477
+ },
2478
+ "2": {
2479
+ name: "string.other.link.description.markdown"
2480
+ },
2481
+ "4": {
2482
+ name: "punctuation.definition.string.end.markdown"
2483
+ },
2484
+ "5": {
2485
+ name: "punctuation.definition.metadata.markdown"
2486
+ },
2487
+ "6": {
2488
+ name: "punctuation.definition.link.markdown"
2489
+ },
2490
+ "7": {
2491
+ name: "markup.underline.link.image.markdown"
2492
+ },
2493
+ "8": {
2494
+ name: "punctuation.definition.link.markdown"
2495
+ },
2496
+ "9": {
2497
+ name: "string.other.link.description.title.markdown"
2498
+ },
2499
+ "10": {
2500
+ name: "punctuation.definition.string.markdown"
2501
+ },
2502
+ "11": {
2503
+ name: "punctuation.definition.string.markdown"
2504
+ },
2505
+ "12": {
2506
+ name: "string.other.link.description.title.markdown"
2507
+ },
2508
+ "13": {
2509
+ name: "punctuation.definition.string.markdown"
2510
+ },
2511
+ "14": {
2512
+ name: "punctuation.definition.string.markdown"
2513
+ },
2514
+ "15": {
2515
+ name: "string.other.link.description.title.markdown"
2516
+ },
2517
+ "16": {
2518
+ name: "punctuation.definition.string.markdown"
2519
+ },
2520
+ "17": {
2521
+ name: "punctuation.definition.string.markdown"
2522
+ },
2523
+ "18": {
2524
+ name: "punctuation.definition.metadata.markdown"
2525
+ }
2526
+ },
2527
+ match: "(?x)\n (\\!\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (<?)(\\S+?)(>?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n",
2528
+ name: "meta.image.inline.markdown"
2529
+ },
2530
+ "image-ref": {
2531
+ captures: {
2532
+ "1": {
2533
+ name: "punctuation.definition.string.begin.markdown"
2534
+ },
2535
+ "2": {
2536
+ name: "string.other.link.description.markdown"
2537
+ },
2538
+ "4": {
2539
+ name: "punctuation.definition.string.begin.markdown"
2540
+ },
2541
+ "5": {
2542
+ name: "punctuation.definition.constant.markdown"
2543
+ },
2544
+ "6": {
2545
+ name: "constant.other.reference.link.markdown"
2546
+ },
2547
+ "7": {
2548
+ name: "punctuation.definition.constant.markdown"
2549
+ }
2550
+ },
2551
+ match: "(\\!\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])[ ]?(\\[)(.*?)(\\])",
2552
+ name: "meta.image.reference.markdown"
2553
+ },
2554
+ italic: {
2555
+ begin: "(?x) (?<open>(\\*(?=\\w)|(?<!\\w)\\*|(?<!\\w)\\b_))(?=\\S) # Open\n (?=\n (\n <[^>]*+> # HTML tags\n | (?<raw>`+)([^`]|(?!(?<!`)\\k<raw>(?!`))`)*+\\k<raw>\n # Raw\n | \\\\[\\\\`*_{}\\[\\]()#.!+\\->]?+ # Escapes\n | \\[\n (\n (?<square> # Named group\n [^\\[\\]\\\\] # Match most chars\n | \\\\. # Escaped chars\n | \\[ \\g<square>*+ \\] # Nested brackets\n )*+\n \\]\n (\n ( # Reference Link\n [ ]? # Optional space\n \\[[^\\]]*+\\] # Ref name\n )\n | ( # Inline Link\n \\( # Opening paren\n [ \\t]*+ # Optional whtiespace\n <?(.*?)>? # URL\n [ \\t]*+ # Optional whtiespace\n ( # Optional Title\n (?<title>['\"])\n (.*?)\n \\k<title>\n )?\n \\)\n )\n )\n )\n | \\k<open>\\k<open> # Must be bold closer\n | (?!(?<=\\S)\\k<open>). # Everything besides\n # style closer\n )++\n (?<=\\S)(?=_\\b|\\*)\\k<open> # Close\n )\n",
2556
+ captures: {
2557
+ "1": {
2558
+ name: "punctuation.definition.italic.markdown"
2559
+ }
2560
+ },
2561
+ end: "(?<=\\S)(\\1)((?!\\1)|(?=\\1\\1))",
2562
+ name: "markup.italic.markdown",
2563
+ patterns: [
2564
+ {
2565
+ applyEndPatternLast: 1,
2566
+ begin: "(?=<[^>]*?>)",
2567
+ end: "(?<=>)",
2568
+ patterns: [
2569
+ {
2570
+ include: "text.html.derivative"
2571
+ }
2572
+ ]
2573
+ },
2574
+ {
2575
+ include: "#escape"
2576
+ },
2577
+ {
2578
+ include: "#ampersand"
2579
+ },
2580
+ {
2581
+ include: "#bracket"
2582
+ },
2583
+ {
2584
+ include: "#raw"
2585
+ },
2586
+ {
2587
+ include: "#bold"
2588
+ },
2589
+ {
2590
+ include: "#image-inline"
2591
+ },
2592
+ {
2593
+ include: "#link-inline"
2594
+ },
2595
+ {
2596
+ include: "#link-inet"
2597
+ },
2598
+ {
2599
+ include: "#link-email"
2600
+ },
2601
+ {
2602
+ include: "#image-ref"
2603
+ },
2604
+ {
2605
+ include: "#link-ref-literal"
2606
+ },
2607
+ {
2608
+ include: "#link-ref"
2609
+ },
2610
+ {
2611
+ include: "#link-ref-shortcut"
2612
+ }
2613
+ ]
2614
+ },
2615
+ "link-email": {
2616
+ captures: {
2617
+ "1": {
2618
+ name: "punctuation.definition.link.markdown"
2619
+ },
2620
+ "2": {
2621
+ name: "markup.underline.link.markdown"
2622
+ },
2623
+ "4": {
2624
+ name: "punctuation.definition.link.markdown"
2625
+ }
2626
+ },
2627
+ match: "(<)((?:mailto:)?[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)(>)",
2628
+ name: "meta.link.email.lt-gt.markdown"
2629
+ },
2630
+ "link-inet": {
2631
+ captures: {
2632
+ "1": {
2633
+ name: "punctuation.definition.link.markdown"
2634
+ },
2635
+ "2": {
2636
+ name: "markup.underline.link.markdown"
2637
+ },
2638
+ "3": {
2639
+ name: "punctuation.definition.link.markdown"
2640
+ }
2641
+ },
2642
+ match: "(<)((?:https?|ftp)://.*?)(>)",
2643
+ name: "meta.link.inet.markdown"
2644
+ },
2645
+ "link-inline": {
2646
+ captures: {
2647
+ "1": {
2648
+ name: "punctuation.definition.string.begin.markdown"
2649
+ },
2650
+ "2": {
2651
+ name: "string.other.link.title.markdown"
2652
+ },
2653
+ "4": {
2654
+ name: "punctuation.definition.string.end.markdown"
2655
+ },
2656
+ "5": {
2657
+ name: "punctuation.definition.metadata.markdown"
2658
+ },
2659
+ "6": {
2660
+ name: "punctuation.definition.link.markdown"
2661
+ },
2662
+ "7": {
2663
+ name: "markup.underline.link.markdown"
2664
+ },
2665
+ "9": {
2666
+ name: "punctuation.definition.link.markdown"
2667
+ },
2668
+ "10": {
2669
+ name: "string.other.link.description.title.markdown"
2670
+ },
2671
+ "11": {
2672
+ name: "punctuation.definition.string.begin.markdown"
2673
+ },
2674
+ "12": {
2675
+ name: "punctuation.definition.string.end.markdown"
2676
+ },
2677
+ "13": {
2678
+ name: "string.other.link.description.title.markdown"
2679
+ },
2680
+ "14": {
2681
+ name: "punctuation.definition.string.begin.markdown"
2682
+ },
2683
+ "15": {
2684
+ name: "punctuation.definition.string.end.markdown"
2685
+ },
2686
+ "16": {
2687
+ name: "string.other.link.description.title.markdown"
2688
+ },
2689
+ "17": {
2690
+ name: "punctuation.definition.string.begin.markdown"
2691
+ },
2692
+ "18": {
2693
+ name: "punctuation.definition.string.end.markdown"
2694
+ },
2695
+ "19": {
2696
+ name: "punctuation.definition.metadata.markdown"
2697
+ }
2698
+ },
2699
+ match: "(?x)\n (\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (<?)((?<url>(?>[^\\s()]+)|\\(\\g<url>*\\))*)(>?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n",
2700
+ name: "meta.link.inline.markdown"
2701
+ },
2702
+ "link-ref": {
2703
+ captures: {
2704
+ "1": {
2705
+ name: "punctuation.definition.string.begin.markdown"
2706
+ },
2707
+ "2": {
2708
+ name: "string.other.link.title.markdown"
2709
+ },
2710
+ "4": {
2711
+ name: "punctuation.definition.string.end.markdown"
2712
+ },
2713
+ "5": {
2714
+ name: "punctuation.definition.constant.begin.markdown"
2715
+ },
2716
+ "6": {
2717
+ name: "constant.other.reference.link.markdown"
2718
+ },
2719
+ "7": {
2720
+ name: "punctuation.definition.constant.end.markdown"
2721
+ }
2722
+ },
2723
+ match: "(\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])(\\[)([^\\]]*+)(\\])",
2724
+ name: "meta.link.reference.markdown"
2725
+ },
2726
+ "link-ref-literal": {
2727
+ captures: {
2728
+ "1": {
2729
+ name: "punctuation.definition.string.begin.markdown"
2730
+ },
2731
+ "2": {
2732
+ name: "string.other.link.title.markdown"
2733
+ },
2734
+ "4": {
2735
+ name: "punctuation.definition.string.end.markdown"
2736
+ },
2737
+ "5": {
2738
+ name: "punctuation.definition.constant.begin.markdown"
2739
+ },
2740
+ "6": {
2741
+ name: "punctuation.definition.constant.end.markdown"
2742
+ }
2743
+ },
2744
+ match: "(\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])[ ]?(\\[)(\\])",
2745
+ name: "meta.link.reference.literal.markdown"
2746
+ },
2747
+ "link-ref-shortcut": {
2748
+ captures: {
2749
+ "1": {
2750
+ name: "punctuation.definition.string.begin.markdown"
2751
+ },
2752
+ "2": {
2753
+ name: "string.other.link.title.markdown"
2754
+ },
2755
+ "3": {
2756
+ name: "punctuation.definition.string.end.markdown"
2757
+ }
2758
+ },
2759
+ match: "(\\[)(\\S+?)(\\])",
2760
+ name: "meta.link.reference.markdown"
2761
+ },
2762
+ raw: {
2763
+ captures: {
2764
+ "1": {
2765
+ name: "punctuation.definition.raw.markdown"
2766
+ },
2767
+ "3": {
2768
+ name: "punctuation.definition.raw.markdown"
2769
+ }
2770
+ },
2771
+ match: "(`+)([^`]|(?!(?<!`)\\1(?!`))`)*+(\\1)",
2772
+ name: "markup.inline.raw.string.markdown"
2773
+ }
2774
+ };
2775
+ var markdown_tmLanguage = {
2776
+ information_for_contributors: information_for_contributors,
2777
+ version: version,
2778
+ name: name,
2779
+ scopeName: scopeName,
2780
+ patterns: patterns,
2781
+ repository: repository
2782
+ };
2783
+
2784
+ export { markdown_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName, version };