chamba 0.7.0 → 0.9.0

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 (134) hide show
  1. package/LICENSE +53 -14
  2. package/README.md +34 -8
  3. package/dist/commands/advanced.js +7 -278
  4. package/dist/commands/dev.js +11 -612
  5. package/dist/commands/doctor.js +1 -29
  6. package/dist/commands/menu.js +1 -80
  7. package/dist/commands/onboard.js +6 -230
  8. package/dist/commands/settings.js +15 -349
  9. package/dist/lib/agent-commands.js +2 -0
  10. package/dist/lib/agent-context.js +6 -210
  11. package/dist/lib/browser.js +1 -40
  12. package/dist/lib/chamba-yaml.js +10 -191
  13. package/dist/lib/constants.js +1 -125
  14. package/dist/lib/dockerfile-builder.js +41 -261
  15. package/dist/lib/env.js +2 -78
  16. package/dist/lib/git-env.js +1 -21
  17. package/dist/lib/global-config.js +4 -66
  18. package/dist/lib/pnpm-store.js +1 -19
  19. package/dist/lib/ports.js +1 -210
  20. package/dist/lib/safe-rm.js +1 -36
  21. package/dist/lib/sessions.js +2 -34
  22. package/dist/lib/shadows.js +1 -176
  23. package/dist/lib/skills.js +2 -0
  24. package/dist/lib/templates.js +1 -0
  25. package/dist/lib/webterm.js +1 -305
  26. package/dist/lib/workspace-identity.js +4 -260
  27. package/package.json +4 -4
  28. package/templates/Dockerfile +15 -22
  29. package/templates/claude-statusline.sh +5 -7
  30. package/templates/context/baseline.md +4 -2
  31. package/templates/context/web-pane-craft.md +1 -1
  32. package/templates/pane-apps/client/assets/api-BBDf_rzz.js +12 -0
  33. package/templates/pane-apps/client/assets/api-DNLbSBpK.css +1 -0
  34. package/templates/pane-apps/client/assets/bee-B7t97l5B.webp +0 -0
  35. package/templates/pane-apps/client/assets/buzz-CUUsbnXH.mp3 +0 -0
  36. package/templates/pane-apps/client/assets/c-BNa-DeUl.json +3552 -0
  37. package/templates/pane-apps/client/assets/cpp-B-T4NRoH.json +20239 -0
  38. package/templates/pane-apps/client/assets/csharp-BbxHChhA.json +6010 -0
  39. package/templates/pane-apps/client/assets/css-CWCxuwmz.json +1860 -0
  40. package/templates/pane-apps/client/assets/diff-B-2N89g8.json +154 -0
  41. package/templates/pane-apps/client/assets/docker-DWTvYW26.json +103 -0
  42. package/templates/pane-apps/client/assets/files-BkmyervY.js +1 -0
  43. package/templates/pane-apps/client/assets/go-B2hyYeNg.json +3156 -0
  44. package/templates/pane-apps/client/assets/graphql-Z6Id2aNO.json +1292 -0
  45. package/templates/pane-apps/client/assets/home-3SeGzySM.css +1 -0
  46. package/templates/pane-apps/client/assets/home-Cu9xOd2i.js +1 -0
  47. package/templates/pane-apps/client/assets/html-BtzvlIfu.json +2627 -0
  48. package/templates/pane-apps/client/assets/ini-Bn3Twap1.json +108 -0
  49. package/templates/pane-apps/client/assets/java-C7t2dwLO.json +1885 -0
  50. package/templates/pane-apps/client/assets/javascript-DuC2v0C0.json +5996 -0
  51. package/templates/pane-apps/client/assets/json-CwdkWeV5.json +206 -0
  52. package/templates/pane-apps/client/assets/jsonc-MYWDbTU3.json +206 -0
  53. package/templates/pane-apps/client/assets/jsx-Cn8EZuIC.json +5996 -0
  54. package/templates/pane-apps/client/assets/kotlin-CFNOz1gw.json +580 -0
  55. package/templates/pane-apps/client/assets/make-BVnlFCcl.json +629 -0
  56. package/templates/pane-apps/client/assets/markdown-B4Xk2WM_.json +3263 -0
  57. package/templates/pane-apps/client/assets/php-CAQzQmmI.json +4188 -0
  58. package/templates/pane-apps/client/assets/pop-D5ZANBC3.mp3 +0 -0
  59. package/templates/pane-apps/client/assets/python-CYQee8m4.json +4174 -0
  60. package/templates/pane-apps/client/assets/reviews-DMrGB-kG.js +153 -0
  61. package/templates/pane-apps/client/assets/reviews-nK_yRav9.css +1 -0
  62. package/templates/pane-apps/client/assets/ruby-D7R58tus.json +3114 -0
  63. package/templates/pane-apps/client/assets/rust-BFBbFiei.json +1103 -0
  64. package/templates/pane-apps/client/assets/scss-TQRhBkPG.json +1874 -0
  65. package/templates/pane-apps/client/assets/shellscript-DieAkC4W.json +2375 -0
  66. package/templates/pane-apps/client/assets/specs-Cabb15F0.js +13 -0
  67. package/templates/pane-apps/client/assets/sql-Bxd030LV.json +634 -0
  68. package/templates/pane-apps/client/assets/toml-ChrKGzsV.json +430 -0
  69. package/templates/pane-apps/client/assets/tsx-D2e90MFw.json +5996 -0
  70. package/templates/pane-apps/client/assets/typescript-DonXQ_n1.json +5747 -0
  71. package/templates/pane-apps/client/assets/useNow-BHFKFraS.js +1 -0
  72. package/templates/pane-apps/client/assets/xml-B17r2RXF.json +382 -0
  73. package/templates/pane-apps/client/assets/yaml-CKn4h1zy.json +627 -0
  74. package/templates/pane-apps/client/home/index.html +16 -0
  75. package/templates/pane-apps/client/reviews/index.html +17 -0
  76. package/templates/pane-apps/client/specs/index.html +4 -2
  77. package/templates/pane-apps/server/home.mjs +12 -0
  78. package/templates/pane-apps/server/reviews.mjs +21 -0
  79. package/templates/pane-apps/server/specs.mjs +5 -1588
  80. package/templates/skills/chamba-statusline/SKILL.md +7 -19
  81. package/templates/skills/dx-review/SKILL.md +136 -0
  82. package/templates/skills/dx-review/references/acts.md +233 -0
  83. package/templates/skills/dx-spec/SKILL.md +230 -30
  84. package/templates/skills/dx-spec/references/principles-template.md +2 -0
  85. package/templates/skills/dx-spec/references/review-guide.md +6 -52
  86. package/templates/skills/dx-spec/references/spec-guide.md +25 -5
  87. package/templates/skills/dx-spec/references/stages.md +149 -60
  88. package/templates/skills/dx-spec-execute/SKILL.md +217 -38
  89. package/templates/startup.mjs +22 -16
  90. package/templates/tool-helper.sh +168 -0
  91. package/templates/webterm/README.md +82 -27
  92. package/templates/webterm/color.js +61 -0
  93. package/templates/webterm/config.js +55 -4
  94. package/templates/webterm/context/claude.md +0 -1
  95. package/templates/webterm/public/app/alerts.js +95 -14
  96. package/templates/webterm/public/app/anchored.js +81 -0
  97. package/templates/webterm/public/app/composer.js +37 -3
  98. package/templates/webterm/public/app/connection.js +23 -0
  99. package/templates/webterm/public/app/dom.js +3 -0
  100. package/templates/webterm/public/app/frames.js +52 -18
  101. package/templates/webterm/public/app/home-host.js +16 -0
  102. package/templates/webterm/public/app/main.js +24 -8
  103. package/templates/webterm/public/app/new-session.js +13 -41
  104. package/templates/webterm/public/app/palette.js +58 -0
  105. package/templates/webterm/public/app/pane-shape.js +169 -0
  106. package/templates/webterm/public/app/pane-shell.js +240 -135
  107. package/templates/webterm/public/app/pane.js +39 -24
  108. package/templates/webterm/public/app/reviews-host.js +19 -0
  109. package/templates/webterm/public/app/specs-host.js +12 -218
  110. package/templates/webterm/public/app/state.js +5 -0
  111. package/templates/webterm/public/app/tabs.js +6 -2
  112. package/templates/webterm/public/app/theme.js +75 -27
  113. package/templates/webterm/public/app/tool-host.js +318 -0
  114. package/templates/webterm/public/app/workspace-color.js +192 -0
  115. package/templates/webterm/public/index.html +22 -4
  116. package/templates/webterm/public/styles.css +195 -21
  117. package/templates/webterm/server.js +198 -150
  118. package/templates/webterm/tool-document.js +3 -2
  119. package/templates/webterm/tools/commands.js +61 -0
  120. package/templates/webterm/tools/home.js +58 -0
  121. package/templates/webterm/tools/index.js +26 -0
  122. package/templates/webterm/tools/mount.js +337 -0
  123. package/templates/webterm/tools/paths.js +34 -0
  124. package/templates/webterm/tools/reviews.js +137 -0
  125. package/templates/webterm/tools/specs.js +154 -0
  126. package/templates/webterm/typed-line.js +70 -7
  127. package/templates/context/context-usage.md +0 -1
  128. package/templates/context-usage.sh +0 -266
  129. package/templates/pane-apps/client/assets/specs-B1970L17.css +0 -1
  130. package/templates/pane-apps/client/assets/specs-cEee_SPn.js +0 -23
  131. package/templates/skills/dx-spec-config/SKILL.md +0 -313
  132. package/templates/skills/dx-spec-config/references/principles-template.md +0 -12
  133. package/templates/specs.sh +0 -106
  134. package/templates/webterm/specs.js +0 -358
@@ -0,0 +1,3263 @@
1
+ {
2
+ "displayName": "Markdown",
3
+ "name": "markdown",
4
+ "patterns": [
5
+ {
6
+ "include": "#frontMatter"
7
+ },
8
+ {
9
+ "include": "#block"
10
+ }
11
+ ],
12
+ "repository": {
13
+ "ampersand": {
14
+ "match": "&(?!([0-9A-Za-z]+|#[0-9]+|#x\\h+);)",
15
+ "name": "meta.other.valid-ampersand.markdown"
16
+ },
17
+ "block": {
18
+ "patterns": [
19
+ {
20
+ "include": "#separator"
21
+ },
22
+ {
23
+ "include": "#heading"
24
+ },
25
+ {
26
+ "include": "#blockquote"
27
+ },
28
+ {
29
+ "include": "#lists"
30
+ },
31
+ {
32
+ "include": "#fenced_code_block"
33
+ },
34
+ {
35
+ "include": "#raw_block"
36
+ },
37
+ {
38
+ "include": "#link-def"
39
+ },
40
+ {
41
+ "include": "#html"
42
+ },
43
+ {
44
+ "include": "#table"
45
+ },
46
+ {
47
+ "include": "#paragraph"
48
+ }
49
+ ]
50
+ },
51
+ "blockquote": {
52
+ "begin": "(^|\\G) {0,3}(>) ?",
53
+ "captures": {
54
+ "2": {
55
+ "name": "punctuation.definition.quote.begin.markdown"
56
+ }
57
+ },
58
+ "name": "markup.quote.markdown",
59
+ "patterns": [
60
+ {
61
+ "include": "#block"
62
+ }
63
+ ],
64
+ "while": "(^|\\G)\\s*(>) ?"
65
+ },
66
+ "bold": {
67
+ "begin": "(?<open>(\\*\\*(?=\\w)|(?<!\\w)\\*\\*|(?<!\\w)\\b__))(?=\\S)(?=(<[^>]*+>|(?<raw>`+)([^`]|(?!(?<!`)\\k<raw>(?!`))`)*+\\k<raw>|\\\\[-\\]!#(-+.>\\[\\\\_`{}]?+|\\[((?<square>[^]\\[\\\\]|\\\\.|\\[\\g<square>*+])*+](( ?\\[[^]]*+])|(\\([\\t ]*+<?(.*?)>?[\\t ]*+((?<title>[\"'])(.*?)\\k<title>)?\\))))|(?!(?<=\\S)\\k<open>).)++(?<=\\S)(?=__\\b|\\*\\*)\\k<open>)",
68
+ "captures": {
69
+ "1": {
70
+ "name": "punctuation.definition.bold.markdown"
71
+ }
72
+ },
73
+ "end": "(?<=\\S)(\\1)",
74
+ "name": "markup.bold.markdown",
75
+ "patterns": [
76
+ {
77
+ "applyEndPatternLast": 1,
78
+ "begin": "(?=<[^>]*?>)",
79
+ "end": "(?<=>)",
80
+ "patterns": [
81
+ {
82
+ "include": "text.html.derivative"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "include": "#escape"
88
+ },
89
+ {
90
+ "include": "#ampersand"
91
+ },
92
+ {
93
+ "include": "#bracket"
94
+ },
95
+ {
96
+ "include": "#raw"
97
+ },
98
+ {
99
+ "include": "#bold"
100
+ },
101
+ {
102
+ "include": "#italic"
103
+ },
104
+ {
105
+ "include": "#image-inline"
106
+ },
107
+ {
108
+ "include": "#link-inline"
109
+ },
110
+ {
111
+ "include": "#link-inet"
112
+ },
113
+ {
114
+ "include": "#link-email"
115
+ },
116
+ {
117
+ "include": "#image-ref"
118
+ },
119
+ {
120
+ "include": "#link-ref-literal"
121
+ },
122
+ {
123
+ "include": "#link-ref"
124
+ },
125
+ {
126
+ "include": "#link-ref-shortcut"
127
+ },
128
+ {
129
+ "include": "#strikethrough"
130
+ }
131
+ ]
132
+ },
133
+ "bracket": {
134
+ "match": "<(?![!$/?A-Za-z])",
135
+ "name": "meta.other.valid-bracket.markdown"
136
+ },
137
+ "escape": {
138
+ "match": "\\\\[-\\]!#(-+.>\\[\\\\_`{}]",
139
+ "name": "constant.character.escape.markdown"
140
+ },
141
+ "fenced_code_block": {
142
+ "patterns": [
143
+ {
144
+ "include": "#fenced_code_block_css"
145
+ },
146
+ {
147
+ "include": "#fenced_code_block_basic"
148
+ },
149
+ {
150
+ "include": "#fenced_code_block_ini"
151
+ },
152
+ {
153
+ "include": "#fenced_code_block_java"
154
+ },
155
+ {
156
+ "include": "#fenced_code_block_lua"
157
+ },
158
+ {
159
+ "include": "#fenced_code_block_makefile"
160
+ },
161
+ {
162
+ "include": "#fenced_code_block_perl"
163
+ },
164
+ {
165
+ "include": "#fenced_code_block_r"
166
+ },
167
+ {
168
+ "include": "#fenced_code_block_ruby"
169
+ },
170
+ {
171
+ "include": "#fenced_code_block_php"
172
+ },
173
+ {
174
+ "include": "#fenced_code_block_sql"
175
+ },
176
+ {
177
+ "include": "#fenced_code_block_vs_net"
178
+ },
179
+ {
180
+ "include": "#fenced_code_block_xml"
181
+ },
182
+ {
183
+ "include": "#fenced_code_block_xsl"
184
+ },
185
+ {
186
+ "include": "#fenced_code_block_yaml"
187
+ },
188
+ {
189
+ "include": "#fenced_code_block_dosbatch"
190
+ },
191
+ {
192
+ "include": "#fenced_code_block_clojure"
193
+ },
194
+ {
195
+ "include": "#fenced_code_block_coffee"
196
+ },
197
+ {
198
+ "include": "#fenced_code_block_c"
199
+ },
200
+ {
201
+ "include": "#fenced_code_block_cpp"
202
+ },
203
+ {
204
+ "include": "#fenced_code_block_diff"
205
+ },
206
+ {
207
+ "include": "#fenced_code_block_dockerfile"
208
+ },
209
+ {
210
+ "include": "#fenced_code_block_git_commit"
211
+ },
212
+ {
213
+ "include": "#fenced_code_block_git_rebase"
214
+ },
215
+ {
216
+ "include": "#fenced_code_block_go"
217
+ },
218
+ {
219
+ "include": "#fenced_code_block_groovy"
220
+ },
221
+ {
222
+ "include": "#fenced_code_block_pug"
223
+ },
224
+ {
225
+ "include": "#fenced_code_block_ignore"
226
+ },
227
+ {
228
+ "include": "#fenced_code_block_js"
229
+ },
230
+ {
231
+ "include": "#fenced_code_block_js_regexp"
232
+ },
233
+ {
234
+ "include": "#fenced_code_block_json"
235
+ },
236
+ {
237
+ "include": "#fenced_code_block_jsonc"
238
+ },
239
+ {
240
+ "include": "#fenced_code_block_jsonl"
241
+ },
242
+ {
243
+ "include": "#fenced_code_block_less"
244
+ },
245
+ {
246
+ "include": "#fenced_code_block_objc"
247
+ },
248
+ {
249
+ "include": "#fenced_code_block_swift"
250
+ },
251
+ {
252
+ "include": "#fenced_code_block_scss"
253
+ },
254
+ {
255
+ "include": "#fenced_code_block_perl6"
256
+ },
257
+ {
258
+ "include": "#fenced_code_block_powershell"
259
+ },
260
+ {
261
+ "include": "#fenced_code_block_python"
262
+ },
263
+ {
264
+ "include": "#fenced_code_block_julia"
265
+ },
266
+ {
267
+ "include": "#fenced_code_block_regexp_python"
268
+ },
269
+ {
270
+ "include": "#fenced_code_block_rust"
271
+ },
272
+ {
273
+ "include": "#fenced_code_block_scala"
274
+ },
275
+ {
276
+ "include": "#fenced_code_block_shell"
277
+ },
278
+ {
279
+ "include": "#fenced_code_block_ts"
280
+ },
281
+ {
282
+ "include": "#fenced_code_block_tsx"
283
+ },
284
+ {
285
+ "include": "#fenced_code_block_csharp"
286
+ },
287
+ {
288
+ "include": "#fenced_code_block_fsharp"
289
+ },
290
+ {
291
+ "include": "#fenced_code_block_dart"
292
+ },
293
+ {
294
+ "include": "#fenced_code_block_handlebars"
295
+ },
296
+ {
297
+ "include": "#fenced_code_block_markdown"
298
+ },
299
+ {
300
+ "include": "#fenced_code_block_log"
301
+ },
302
+ {
303
+ "include": "#fenced_code_block_erlang"
304
+ },
305
+ {
306
+ "include": "#fenced_code_block_elixir"
307
+ },
308
+ {
309
+ "include": "#fenced_code_block_latex"
310
+ },
311
+ {
312
+ "include": "#fenced_code_block_bibtex"
313
+ },
314
+ {
315
+ "include": "#fenced_code_block_twig"
316
+ },
317
+ {
318
+ "include": "#fenced_code_block_yang"
319
+ },
320
+ {
321
+ "include": "#fenced_code_block_abap"
322
+ },
323
+ {
324
+ "include": "#fenced_code_block_restructuredtext"
325
+ },
326
+ {
327
+ "include": "#fenced_code_block_unknown"
328
+ }
329
+ ]
330
+ },
331
+ "fenced_code_block_abap": {
332
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(abap)((\\s+|[,:?{])[^`]*)?$)",
333
+ "beginCaptures": {
334
+ "3": {
335
+ "name": "punctuation.definition.markdown"
336
+ },
337
+ "4": {
338
+ "name": "fenced_code.block.language.markdown"
339
+ },
340
+ "5": {
341
+ "name": "fenced_code.block.language.attributes.markdown"
342
+ }
343
+ },
344
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
345
+ "endCaptures": {
346
+ "3": {
347
+ "name": "punctuation.definition.markdown"
348
+ }
349
+ },
350
+ "name": "markup.fenced_code.block.markdown",
351
+ "patterns": [
352
+ {
353
+ "begin": "(^|\\G)(\\s*)(.*)",
354
+ "contentName": "meta.embedded.block.abap",
355
+ "patterns": [
356
+ {
357
+ "include": "source.abap"
358
+ }
359
+ ],
360
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
361
+ }
362
+ ]
363
+ },
364
+ "fenced_code_block_basic": {
365
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(html?|shtml|xhtml|inc|tmpl|tpl)((\\s+|[,:?{])[^`]*)?$)",
366
+ "beginCaptures": {
367
+ "3": {
368
+ "name": "punctuation.definition.markdown"
369
+ },
370
+ "4": {
371
+ "name": "fenced_code.block.language.markdown"
372
+ },
373
+ "5": {
374
+ "name": "fenced_code.block.language.attributes.markdown"
375
+ }
376
+ },
377
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
378
+ "endCaptures": {
379
+ "3": {
380
+ "name": "punctuation.definition.markdown"
381
+ }
382
+ },
383
+ "name": "markup.fenced_code.block.markdown",
384
+ "patterns": [
385
+ {
386
+ "begin": "(^|\\G)(\\s*)(.*)",
387
+ "contentName": "meta.embedded.block.html",
388
+ "patterns": [
389
+ {
390
+ "include": "text.html.basic"
391
+ }
392
+ ],
393
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
394
+ }
395
+ ]
396
+ },
397
+ "fenced_code_block_bibtex": {
398
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(bibtex)((\\s+|[,:?{])[^`]*)?$)",
399
+ "beginCaptures": {
400
+ "3": {
401
+ "name": "punctuation.definition.markdown"
402
+ },
403
+ "4": {
404
+ "name": "fenced_code.block.language.markdown"
405
+ },
406
+ "5": {
407
+ "name": "fenced_code.block.language.attributes.markdown"
408
+ }
409
+ },
410
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
411
+ "endCaptures": {
412
+ "3": {
413
+ "name": "punctuation.definition.markdown"
414
+ }
415
+ },
416
+ "name": "markup.fenced_code.block.markdown",
417
+ "patterns": [
418
+ {
419
+ "begin": "(^|\\G)(\\s*)(.*)",
420
+ "contentName": "meta.embedded.block.bibtex",
421
+ "patterns": [
422
+ {
423
+ "include": "text.bibtex"
424
+ }
425
+ ],
426
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
427
+ }
428
+ ]
429
+ },
430
+ "fenced_code_block_c": {
431
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:([ch])((\\s+|[,:?{])[^`]*)?$)",
432
+ "beginCaptures": {
433
+ "3": {
434
+ "name": "punctuation.definition.markdown"
435
+ },
436
+ "4": {
437
+ "name": "fenced_code.block.language.markdown"
438
+ },
439
+ "5": {
440
+ "name": "fenced_code.block.language.attributes.markdown"
441
+ }
442
+ },
443
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
444
+ "endCaptures": {
445
+ "3": {
446
+ "name": "punctuation.definition.markdown"
447
+ }
448
+ },
449
+ "name": "markup.fenced_code.block.markdown",
450
+ "patterns": [
451
+ {
452
+ "begin": "(^|\\G)(\\s*)(.*)",
453
+ "contentName": "meta.embedded.block.c",
454
+ "patterns": [
455
+ {
456
+ "include": "source.c"
457
+ }
458
+ ],
459
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
460
+ }
461
+ ]
462
+ },
463
+ "fenced_code_block_clojure": {
464
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(cl(?:js??|ojure))((\\s+|[,:?{])[^`]*)?$)",
465
+ "beginCaptures": {
466
+ "3": {
467
+ "name": "punctuation.definition.markdown"
468
+ },
469
+ "4": {
470
+ "name": "fenced_code.block.language.markdown"
471
+ },
472
+ "5": {
473
+ "name": "fenced_code.block.language.attributes.markdown"
474
+ }
475
+ },
476
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
477
+ "endCaptures": {
478
+ "3": {
479
+ "name": "punctuation.definition.markdown"
480
+ }
481
+ },
482
+ "name": "markup.fenced_code.block.markdown",
483
+ "patterns": [
484
+ {
485
+ "begin": "(^|\\G)(\\s*)(.*)",
486
+ "contentName": "meta.embedded.block.clojure",
487
+ "patterns": [
488
+ {
489
+ "include": "source.clojure"
490
+ }
491
+ ],
492
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
493
+ }
494
+ ]
495
+ },
496
+ "fenced_code_block_coffee": {
497
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(coffee|Cakefile|coffee.erb)((\\s+|[,:?{])[^`]*)?$)",
498
+ "beginCaptures": {
499
+ "3": {
500
+ "name": "punctuation.definition.markdown"
501
+ },
502
+ "4": {
503
+ "name": "fenced_code.block.language.markdown"
504
+ },
505
+ "5": {
506
+ "name": "fenced_code.block.language.attributes.markdown"
507
+ }
508
+ },
509
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
510
+ "endCaptures": {
511
+ "3": {
512
+ "name": "punctuation.definition.markdown"
513
+ }
514
+ },
515
+ "name": "markup.fenced_code.block.markdown",
516
+ "patterns": [
517
+ {
518
+ "begin": "(^|\\G)(\\s*)(.*)",
519
+ "contentName": "meta.embedded.block.coffee",
520
+ "patterns": [
521
+ {
522
+ "include": "source.coffee"
523
+ }
524
+ ],
525
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
526
+ }
527
+ ]
528
+ },
529
+ "fenced_code_block_cpp": {
530
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(c(?:pp|\\+\\+|xx))((\\s+|[,:?{])[^`]*)?$)",
531
+ "beginCaptures": {
532
+ "3": {
533
+ "name": "punctuation.definition.markdown"
534
+ },
535
+ "4": {
536
+ "name": "fenced_code.block.language.markdown"
537
+ },
538
+ "5": {
539
+ "name": "fenced_code.block.language.attributes.markdown"
540
+ }
541
+ },
542
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
543
+ "endCaptures": {
544
+ "3": {
545
+ "name": "punctuation.definition.markdown"
546
+ }
547
+ },
548
+ "name": "markup.fenced_code.block.markdown",
549
+ "patterns": [
550
+ {
551
+ "begin": "(^|\\G)(\\s*)(.*)",
552
+ "contentName": "meta.embedded.block.cpp source.cpp",
553
+ "patterns": [
554
+ {
555
+ "include": "source.cpp"
556
+ }
557
+ ],
558
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
559
+ }
560
+ ]
561
+ },
562
+ "fenced_code_block_csharp": {
563
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(c(?:s|sharp|#))((\\s+|[,:?{])[^`]*)?$)",
564
+ "beginCaptures": {
565
+ "3": {
566
+ "name": "punctuation.definition.markdown"
567
+ },
568
+ "4": {
569
+ "name": "fenced_code.block.language.markdown"
570
+ },
571
+ "5": {
572
+ "name": "fenced_code.block.language.attributes.markdown"
573
+ }
574
+ },
575
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
576
+ "endCaptures": {
577
+ "3": {
578
+ "name": "punctuation.definition.markdown"
579
+ }
580
+ },
581
+ "name": "markup.fenced_code.block.markdown",
582
+ "patterns": [
583
+ {
584
+ "begin": "(^|\\G)(\\s*)(.*)",
585
+ "contentName": "meta.embedded.block.csharp",
586
+ "patterns": [
587
+ {
588
+ "include": "source.cs"
589
+ }
590
+ ],
591
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
592
+ }
593
+ ]
594
+ },
595
+ "fenced_code_block_css": {
596
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(css(?:|.erb))((\\s+|[,:?{])[^`]*)?$)",
597
+ "beginCaptures": {
598
+ "3": {
599
+ "name": "punctuation.definition.markdown"
600
+ },
601
+ "4": {
602
+ "name": "fenced_code.block.language.markdown"
603
+ },
604
+ "5": {
605
+ "name": "fenced_code.block.language.attributes.markdown"
606
+ }
607
+ },
608
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
609
+ "endCaptures": {
610
+ "3": {
611
+ "name": "punctuation.definition.markdown"
612
+ }
613
+ },
614
+ "name": "markup.fenced_code.block.markdown",
615
+ "patterns": [
616
+ {
617
+ "begin": "(^|\\G)(\\s*)(.*)",
618
+ "contentName": "meta.embedded.block.css",
619
+ "patterns": [
620
+ {
621
+ "include": "source.css"
622
+ }
623
+ ],
624
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
625
+ }
626
+ ]
627
+ },
628
+ "fenced_code_block_dart": {
629
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(dart)((\\s+|[,:?{])[^`]*)?$)",
630
+ "beginCaptures": {
631
+ "3": {
632
+ "name": "punctuation.definition.markdown"
633
+ },
634
+ "4": {
635
+ "name": "fenced_code.block.language.markdown"
636
+ },
637
+ "5": {
638
+ "name": "fenced_code.block.language.attributes.markdown"
639
+ }
640
+ },
641
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
642
+ "endCaptures": {
643
+ "3": {
644
+ "name": "punctuation.definition.markdown"
645
+ }
646
+ },
647
+ "name": "markup.fenced_code.block.markdown",
648
+ "patterns": [
649
+ {
650
+ "begin": "(^|\\G)(\\s*)(.*)",
651
+ "contentName": "meta.embedded.block.dart",
652
+ "patterns": [
653
+ {
654
+ "include": "source.dart"
655
+ }
656
+ ],
657
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
658
+ }
659
+ ]
660
+ },
661
+ "fenced_code_block_diff": {
662
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(patch|diff|rej)((\\s+|[,:?{])[^`]*)?$)",
663
+ "beginCaptures": {
664
+ "3": {
665
+ "name": "punctuation.definition.markdown"
666
+ },
667
+ "4": {
668
+ "name": "fenced_code.block.language.markdown"
669
+ },
670
+ "5": {
671
+ "name": "fenced_code.block.language.attributes.markdown"
672
+ }
673
+ },
674
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
675
+ "endCaptures": {
676
+ "3": {
677
+ "name": "punctuation.definition.markdown"
678
+ }
679
+ },
680
+ "name": "markup.fenced_code.block.markdown",
681
+ "patterns": [
682
+ {
683
+ "begin": "(^|\\G)(\\s*)(.*)",
684
+ "contentName": "meta.embedded.block.diff",
685
+ "patterns": [
686
+ {
687
+ "include": "source.diff"
688
+ }
689
+ ],
690
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
691
+ }
692
+ ]
693
+ },
694
+ "fenced_code_block_dockerfile": {
695
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:([Dd]ockerfile)((\\s+|[,:?{])[^`]*)?$)",
696
+ "beginCaptures": {
697
+ "3": {
698
+ "name": "punctuation.definition.markdown"
699
+ },
700
+ "4": {
701
+ "name": "fenced_code.block.language.markdown"
702
+ },
703
+ "5": {
704
+ "name": "fenced_code.block.language.attributes.markdown"
705
+ }
706
+ },
707
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
708
+ "endCaptures": {
709
+ "3": {
710
+ "name": "punctuation.definition.markdown"
711
+ }
712
+ },
713
+ "name": "markup.fenced_code.block.markdown",
714
+ "patterns": [
715
+ {
716
+ "begin": "(^|\\G)(\\s*)(.*)",
717
+ "contentName": "meta.embedded.block.dockerfile",
718
+ "patterns": [
719
+ {
720
+ "include": "source.dockerfile"
721
+ }
722
+ ],
723
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
724
+ }
725
+ ]
726
+ },
727
+ "fenced_code_block_dosbatch": {
728
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(bat(?:|ch))((\\s+|[,:?{])[^`]*)?$)",
729
+ "beginCaptures": {
730
+ "3": {
731
+ "name": "punctuation.definition.markdown"
732
+ },
733
+ "4": {
734
+ "name": "fenced_code.block.language.markdown"
735
+ },
736
+ "5": {
737
+ "name": "fenced_code.block.language.attributes.markdown"
738
+ }
739
+ },
740
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
741
+ "endCaptures": {
742
+ "3": {
743
+ "name": "punctuation.definition.markdown"
744
+ }
745
+ },
746
+ "name": "markup.fenced_code.block.markdown",
747
+ "patterns": [
748
+ {
749
+ "begin": "(^|\\G)(\\s*)(.*)",
750
+ "contentName": "meta.embedded.block.dosbatch",
751
+ "patterns": [
752
+ {
753
+ "include": "source.batchfile"
754
+ }
755
+ ],
756
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
757
+ }
758
+ ]
759
+ },
760
+ "fenced_code_block_elixir": {
761
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(elixir)((\\s+|[,:?{])[^`]*)?$)",
762
+ "beginCaptures": {
763
+ "3": {
764
+ "name": "punctuation.definition.markdown"
765
+ },
766
+ "4": {
767
+ "name": "fenced_code.block.language.markdown"
768
+ },
769
+ "5": {
770
+ "name": "fenced_code.block.language.attributes.markdown"
771
+ }
772
+ },
773
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
774
+ "endCaptures": {
775
+ "3": {
776
+ "name": "punctuation.definition.markdown"
777
+ }
778
+ },
779
+ "name": "markup.fenced_code.block.markdown",
780
+ "patterns": [
781
+ {
782
+ "begin": "(^|\\G)(\\s*)(.*)",
783
+ "contentName": "meta.embedded.block.elixir",
784
+ "patterns": [
785
+ {
786
+ "include": "source.elixir"
787
+ }
788
+ ],
789
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
790
+ }
791
+ ]
792
+ },
793
+ "fenced_code_block_erlang": {
794
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(erlang)((\\s+|[,:?{])[^`]*)?$)",
795
+ "beginCaptures": {
796
+ "3": {
797
+ "name": "punctuation.definition.markdown"
798
+ },
799
+ "4": {
800
+ "name": "fenced_code.block.language.markdown"
801
+ },
802
+ "5": {
803
+ "name": "fenced_code.block.language.attributes.markdown"
804
+ }
805
+ },
806
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
807
+ "endCaptures": {
808
+ "3": {
809
+ "name": "punctuation.definition.markdown"
810
+ }
811
+ },
812
+ "name": "markup.fenced_code.block.markdown",
813
+ "patterns": [
814
+ {
815
+ "begin": "(^|\\G)(\\s*)(.*)",
816
+ "contentName": "meta.embedded.block.erlang",
817
+ "patterns": [
818
+ {
819
+ "include": "source.erlang"
820
+ }
821
+ ],
822
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
823
+ }
824
+ ]
825
+ },
826
+ "fenced_code_block_fsharp": {
827
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(f(?:s|sharp|#))((\\s+|[,:?{])[^`]*)?$)",
828
+ "beginCaptures": {
829
+ "3": {
830
+ "name": "punctuation.definition.markdown"
831
+ },
832
+ "4": {
833
+ "name": "fenced_code.block.language.markdown"
834
+ },
835
+ "5": {
836
+ "name": "fenced_code.block.language.attributes.markdown"
837
+ }
838
+ },
839
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
840
+ "endCaptures": {
841
+ "3": {
842
+ "name": "punctuation.definition.markdown"
843
+ }
844
+ },
845
+ "name": "markup.fenced_code.block.markdown",
846
+ "patterns": [
847
+ {
848
+ "begin": "(^|\\G)(\\s*)(.*)",
849
+ "contentName": "meta.embedded.block.fsharp",
850
+ "patterns": [
851
+ {
852
+ "include": "source.fsharp"
853
+ }
854
+ ],
855
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
856
+ }
857
+ ]
858
+ },
859
+ "fenced_code_block_git_commit": {
860
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:((?:COMMIT_EDIT|MERGE_)MSG)((\\s+|[,:?{])[^`]*)?$)",
861
+ "beginCaptures": {
862
+ "3": {
863
+ "name": "punctuation.definition.markdown"
864
+ },
865
+ "4": {
866
+ "name": "fenced_code.block.language.markdown"
867
+ },
868
+ "5": {
869
+ "name": "fenced_code.block.language.attributes.markdown"
870
+ }
871
+ },
872
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
873
+ "endCaptures": {
874
+ "3": {
875
+ "name": "punctuation.definition.markdown"
876
+ }
877
+ },
878
+ "name": "markup.fenced_code.block.markdown",
879
+ "patterns": [
880
+ {
881
+ "begin": "(^|\\G)(\\s*)(.*)",
882
+ "contentName": "meta.embedded.block.git_commit",
883
+ "patterns": [
884
+ {
885
+ "include": "text.git-commit"
886
+ }
887
+ ],
888
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
889
+ }
890
+ ]
891
+ },
892
+ "fenced_code_block_git_rebase": {
893
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(git-rebase-todo)((\\s+|[,:?{])[^`]*)?$)",
894
+ "beginCaptures": {
895
+ "3": {
896
+ "name": "punctuation.definition.markdown"
897
+ },
898
+ "4": {
899
+ "name": "fenced_code.block.language.markdown"
900
+ },
901
+ "5": {
902
+ "name": "fenced_code.block.language.attributes.markdown"
903
+ }
904
+ },
905
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
906
+ "endCaptures": {
907
+ "3": {
908
+ "name": "punctuation.definition.markdown"
909
+ }
910
+ },
911
+ "name": "markup.fenced_code.block.markdown",
912
+ "patterns": [
913
+ {
914
+ "begin": "(^|\\G)(\\s*)(.*)",
915
+ "contentName": "meta.embedded.block.git_rebase",
916
+ "patterns": [
917
+ {
918
+ "include": "text.git-rebase"
919
+ }
920
+ ],
921
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
922
+ }
923
+ ]
924
+ },
925
+ "fenced_code_block_go": {
926
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(go(?:|lang))((\\s+|[,:?{])[^`]*)?$)",
927
+ "beginCaptures": {
928
+ "3": {
929
+ "name": "punctuation.definition.markdown"
930
+ },
931
+ "4": {
932
+ "name": "fenced_code.block.language.markdown"
933
+ },
934
+ "5": {
935
+ "name": "fenced_code.block.language.attributes.markdown"
936
+ }
937
+ },
938
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
939
+ "endCaptures": {
940
+ "3": {
941
+ "name": "punctuation.definition.markdown"
942
+ }
943
+ },
944
+ "name": "markup.fenced_code.block.markdown",
945
+ "patterns": [
946
+ {
947
+ "begin": "(^|\\G)(\\s*)(.*)",
948
+ "contentName": "meta.embedded.block.go",
949
+ "patterns": [
950
+ {
951
+ "include": "source.go"
952
+ }
953
+ ],
954
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
955
+ }
956
+ ]
957
+ },
958
+ "fenced_code_block_groovy": {
959
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(g(?:roovy|vy))((\\s+|[,:?{])[^`]*)?$)",
960
+ "beginCaptures": {
961
+ "3": {
962
+ "name": "punctuation.definition.markdown"
963
+ },
964
+ "4": {
965
+ "name": "fenced_code.block.language.markdown"
966
+ },
967
+ "5": {
968
+ "name": "fenced_code.block.language.attributes.markdown"
969
+ }
970
+ },
971
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
972
+ "endCaptures": {
973
+ "3": {
974
+ "name": "punctuation.definition.markdown"
975
+ }
976
+ },
977
+ "name": "markup.fenced_code.block.markdown",
978
+ "patterns": [
979
+ {
980
+ "begin": "(^|\\G)(\\s*)(.*)",
981
+ "contentName": "meta.embedded.block.groovy",
982
+ "patterns": [
983
+ {
984
+ "include": "source.groovy"
985
+ }
986
+ ],
987
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
988
+ }
989
+ ]
990
+ },
991
+ "fenced_code_block_handlebars": {
992
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(h(?:andlebars|bs))((\\s+|[,:?{])[^`]*)?$)",
993
+ "beginCaptures": {
994
+ "3": {
995
+ "name": "punctuation.definition.markdown"
996
+ },
997
+ "4": {
998
+ "name": "fenced_code.block.language.markdown"
999
+ },
1000
+ "5": {
1001
+ "name": "fenced_code.block.language.attributes.markdown"
1002
+ }
1003
+ },
1004
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1005
+ "endCaptures": {
1006
+ "3": {
1007
+ "name": "punctuation.definition.markdown"
1008
+ }
1009
+ },
1010
+ "name": "markup.fenced_code.block.markdown",
1011
+ "patterns": [
1012
+ {
1013
+ "begin": "(^|\\G)(\\s*)(.*)",
1014
+ "contentName": "meta.embedded.block.handlebars",
1015
+ "patterns": [
1016
+ {
1017
+ "include": "text.html.handlebars"
1018
+ }
1019
+ ],
1020
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1021
+ }
1022
+ ]
1023
+ },
1024
+ "fenced_code_block_ignore": {
1025
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:((?:git|)ignore)((\\s+|[,:?{])[^`]*)?$)",
1026
+ "beginCaptures": {
1027
+ "3": {
1028
+ "name": "punctuation.definition.markdown"
1029
+ },
1030
+ "4": {
1031
+ "name": "fenced_code.block.language.markdown"
1032
+ },
1033
+ "5": {
1034
+ "name": "fenced_code.block.language.attributes.markdown"
1035
+ }
1036
+ },
1037
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1038
+ "endCaptures": {
1039
+ "3": {
1040
+ "name": "punctuation.definition.markdown"
1041
+ }
1042
+ },
1043
+ "name": "markup.fenced_code.block.markdown",
1044
+ "patterns": [
1045
+ {
1046
+ "begin": "(^|\\G)(\\s*)(.*)",
1047
+ "contentName": "meta.embedded.block.ignore",
1048
+ "patterns": [
1049
+ {
1050
+ "include": "source.ignore"
1051
+ }
1052
+ ],
1053
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1054
+ }
1055
+ ]
1056
+ },
1057
+ "fenced_code_block_ini": {
1058
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ini|conf)((\\s+|[,:?{])[^`]*)?$)",
1059
+ "beginCaptures": {
1060
+ "3": {
1061
+ "name": "punctuation.definition.markdown"
1062
+ },
1063
+ "4": {
1064
+ "name": "fenced_code.block.language.markdown"
1065
+ },
1066
+ "5": {
1067
+ "name": "fenced_code.block.language.attributes.markdown"
1068
+ }
1069
+ },
1070
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1071
+ "endCaptures": {
1072
+ "3": {
1073
+ "name": "punctuation.definition.markdown"
1074
+ }
1075
+ },
1076
+ "name": "markup.fenced_code.block.markdown",
1077
+ "patterns": [
1078
+ {
1079
+ "begin": "(^|\\G)(\\s*)(.*)",
1080
+ "contentName": "meta.embedded.block.ini",
1081
+ "patterns": [
1082
+ {
1083
+ "include": "source.ini"
1084
+ }
1085
+ ],
1086
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1087
+ }
1088
+ ]
1089
+ },
1090
+ "fenced_code_block_java": {
1091
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(java|bsh)((\\s+|[,:?{])[^`]*)?$)",
1092
+ "beginCaptures": {
1093
+ "3": {
1094
+ "name": "punctuation.definition.markdown"
1095
+ },
1096
+ "4": {
1097
+ "name": "fenced_code.block.language.markdown"
1098
+ },
1099
+ "5": {
1100
+ "name": "fenced_code.block.language.attributes.markdown"
1101
+ }
1102
+ },
1103
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1104
+ "endCaptures": {
1105
+ "3": {
1106
+ "name": "punctuation.definition.markdown"
1107
+ }
1108
+ },
1109
+ "name": "markup.fenced_code.block.markdown",
1110
+ "patterns": [
1111
+ {
1112
+ "begin": "(^|\\G)(\\s*)(.*)",
1113
+ "contentName": "meta.embedded.block.java",
1114
+ "patterns": [
1115
+ {
1116
+ "include": "source.java"
1117
+ }
1118
+ ],
1119
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1120
+ }
1121
+ ]
1122
+ },
1123
+ "fenced_code_block_js": {
1124
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jsx??|javascript|es6|mjs|cjs|dataviewjs|\\{\\.js.+?})((\\s+|[,:?{])[^`]*)?$)",
1125
+ "beginCaptures": {
1126
+ "3": {
1127
+ "name": "punctuation.definition.markdown"
1128
+ },
1129
+ "4": {
1130
+ "name": "fenced_code.block.language.markdown"
1131
+ },
1132
+ "5": {
1133
+ "name": "fenced_code.block.language.attributes.markdown"
1134
+ }
1135
+ },
1136
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1137
+ "endCaptures": {
1138
+ "3": {
1139
+ "name": "punctuation.definition.markdown"
1140
+ }
1141
+ },
1142
+ "name": "markup.fenced_code.block.markdown",
1143
+ "patterns": [
1144
+ {
1145
+ "begin": "(^|\\G)(\\s*)(.*)",
1146
+ "contentName": "meta.embedded.block.javascript",
1147
+ "patterns": [
1148
+ {
1149
+ "include": "source.js"
1150
+ }
1151
+ ],
1152
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1153
+ }
1154
+ ]
1155
+ },
1156
+ "fenced_code_block_js_regexp": {
1157
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(regexp)((\\s+|[,:?{])[^`]*)?$)",
1158
+ "beginCaptures": {
1159
+ "3": {
1160
+ "name": "punctuation.definition.markdown"
1161
+ },
1162
+ "4": {
1163
+ "name": "fenced_code.block.language.markdown"
1164
+ },
1165
+ "5": {
1166
+ "name": "fenced_code.block.language.attributes.markdown"
1167
+ }
1168
+ },
1169
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1170
+ "endCaptures": {
1171
+ "3": {
1172
+ "name": "punctuation.definition.markdown"
1173
+ }
1174
+ },
1175
+ "name": "markup.fenced_code.block.markdown",
1176
+ "patterns": [
1177
+ {
1178
+ "begin": "(^|\\G)(\\s*)(.*)",
1179
+ "contentName": "meta.embedded.block.js_regexp",
1180
+ "patterns": [
1181
+ {
1182
+ "include": "source.js.regexp"
1183
+ }
1184
+ ],
1185
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1186
+ }
1187
+ ]
1188
+ },
1189
+ "fenced_code_block_json": {
1190
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)((\\s+|[,:?{])[^`]*)?$)",
1191
+ "beginCaptures": {
1192
+ "3": {
1193
+ "name": "punctuation.definition.markdown"
1194
+ },
1195
+ "4": {
1196
+ "name": "fenced_code.block.language.markdown"
1197
+ },
1198
+ "5": {
1199
+ "name": "fenced_code.block.language.attributes.markdown"
1200
+ }
1201
+ },
1202
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1203
+ "endCaptures": {
1204
+ "3": {
1205
+ "name": "punctuation.definition.markdown"
1206
+ }
1207
+ },
1208
+ "name": "markup.fenced_code.block.markdown",
1209
+ "patterns": [
1210
+ {
1211
+ "begin": "(^|\\G)(\\s*)(.*)",
1212
+ "contentName": "meta.embedded.block.json",
1213
+ "patterns": [
1214
+ {
1215
+ "include": "source.json"
1216
+ }
1217
+ ],
1218
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1219
+ }
1220
+ ]
1221
+ },
1222
+ "fenced_code_block_jsonc": {
1223
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jsonc)((\\s+|[,:?{])[^`]*)?$)",
1224
+ "beginCaptures": {
1225
+ "3": {
1226
+ "name": "punctuation.definition.markdown"
1227
+ },
1228
+ "4": {
1229
+ "name": "fenced_code.block.language.markdown"
1230
+ },
1231
+ "5": {
1232
+ "name": "fenced_code.block.language.attributes.markdown"
1233
+ }
1234
+ },
1235
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1236
+ "endCaptures": {
1237
+ "3": {
1238
+ "name": "punctuation.definition.markdown"
1239
+ }
1240
+ },
1241
+ "name": "markup.fenced_code.block.markdown",
1242
+ "patterns": [
1243
+ {
1244
+ "begin": "(^|\\G)(\\s*)(.*)",
1245
+ "contentName": "meta.embedded.block.jsonc",
1246
+ "patterns": [
1247
+ {
1248
+ "include": "source.json.comments"
1249
+ }
1250
+ ],
1251
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1252
+ }
1253
+ ]
1254
+ },
1255
+ "fenced_code_block_jsonl": {
1256
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jsonl(?:|ines))((\\s+|[,:?{])[^`]*)?$)",
1257
+ "beginCaptures": {
1258
+ "3": {
1259
+ "name": "punctuation.definition.markdown"
1260
+ },
1261
+ "4": {
1262
+ "name": "fenced_code.block.language.markdown"
1263
+ },
1264
+ "5": {
1265
+ "name": "fenced_code.block.language.attributes.markdown"
1266
+ }
1267
+ },
1268
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1269
+ "endCaptures": {
1270
+ "3": {
1271
+ "name": "punctuation.definition.markdown"
1272
+ }
1273
+ },
1274
+ "name": "markup.fenced_code.block.markdown",
1275
+ "patterns": [
1276
+ {
1277
+ "begin": "(^|\\G)(\\s*)(.*)",
1278
+ "contentName": "meta.embedded.block.jsonl",
1279
+ "patterns": [
1280
+ {
1281
+ "include": "source.json.lines"
1282
+ }
1283
+ ],
1284
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1285
+ }
1286
+ ]
1287
+ },
1288
+ "fenced_code_block_julia": {
1289
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(julia|\\{\\.julia.+?})((\\s+|[,:?{])[^`]*)?$)",
1290
+ "beginCaptures": {
1291
+ "3": {
1292
+ "name": "punctuation.definition.markdown"
1293
+ },
1294
+ "4": {
1295
+ "name": "fenced_code.block.language.markdown"
1296
+ },
1297
+ "5": {
1298
+ "name": "fenced_code.block.language.attributes.markdown"
1299
+ }
1300
+ },
1301
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1302
+ "endCaptures": {
1303
+ "3": {
1304
+ "name": "punctuation.definition.markdown"
1305
+ }
1306
+ },
1307
+ "name": "markup.fenced_code.block.markdown",
1308
+ "patterns": [
1309
+ {
1310
+ "begin": "(^|\\G)(\\s*)(.*)",
1311
+ "contentName": "meta.embedded.block.julia",
1312
+ "patterns": [
1313
+ {
1314
+ "include": "source.julia"
1315
+ }
1316
+ ],
1317
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1318
+ }
1319
+ ]
1320
+ },
1321
+ "fenced_code_block_latex": {
1322
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:((?:la|)tex)((\\s+|[,:?{])[^`]*)?$)",
1323
+ "beginCaptures": {
1324
+ "3": {
1325
+ "name": "punctuation.definition.markdown"
1326
+ },
1327
+ "4": {
1328
+ "name": "fenced_code.block.language.markdown"
1329
+ },
1330
+ "5": {
1331
+ "name": "fenced_code.block.language.attributes.markdown"
1332
+ }
1333
+ },
1334
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1335
+ "endCaptures": {
1336
+ "3": {
1337
+ "name": "punctuation.definition.markdown"
1338
+ }
1339
+ },
1340
+ "name": "markup.fenced_code.block.markdown",
1341
+ "patterns": [
1342
+ {
1343
+ "begin": "(^|\\G)(\\s*)(.*)",
1344
+ "contentName": "meta.embedded.block.latex",
1345
+ "patterns": [
1346
+ {
1347
+ "include": "text.tex.latex"
1348
+ }
1349
+ ],
1350
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1351
+ }
1352
+ ]
1353
+ },
1354
+ "fenced_code_block_less": {
1355
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(less)((\\s+|[,:?{])[^`]*)?$)",
1356
+ "beginCaptures": {
1357
+ "3": {
1358
+ "name": "punctuation.definition.markdown"
1359
+ },
1360
+ "4": {
1361
+ "name": "fenced_code.block.language.markdown"
1362
+ },
1363
+ "5": {
1364
+ "name": "fenced_code.block.language.attributes.markdown"
1365
+ }
1366
+ },
1367
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1368
+ "endCaptures": {
1369
+ "3": {
1370
+ "name": "punctuation.definition.markdown"
1371
+ }
1372
+ },
1373
+ "name": "markup.fenced_code.block.markdown",
1374
+ "patterns": [
1375
+ {
1376
+ "begin": "(^|\\G)(\\s*)(.*)",
1377
+ "contentName": "meta.embedded.block.less",
1378
+ "patterns": [
1379
+ {
1380
+ "include": "source.css.less"
1381
+ }
1382
+ ],
1383
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1384
+ }
1385
+ ]
1386
+ },
1387
+ "fenced_code_block_log": {
1388
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(log)((\\s+|[,:?{])[^`]*)?$)",
1389
+ "beginCaptures": {
1390
+ "3": {
1391
+ "name": "punctuation.definition.markdown"
1392
+ },
1393
+ "4": {
1394
+ "name": "fenced_code.block.language.markdown"
1395
+ },
1396
+ "5": {
1397
+ "name": "fenced_code.block.language.attributes.markdown"
1398
+ }
1399
+ },
1400
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1401
+ "endCaptures": {
1402
+ "3": {
1403
+ "name": "punctuation.definition.markdown"
1404
+ }
1405
+ },
1406
+ "name": "markup.fenced_code.block.markdown",
1407
+ "patterns": [
1408
+ {
1409
+ "begin": "(^|\\G)(\\s*)(.*)",
1410
+ "contentName": "meta.embedded.block.log",
1411
+ "patterns": [
1412
+ {
1413
+ "include": "text.log"
1414
+ }
1415
+ ],
1416
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1417
+ }
1418
+ ]
1419
+ },
1420
+ "fenced_code_block_lua": {
1421
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(lua)((\\s+|[,:?{])[^`]*)?$)",
1422
+ "beginCaptures": {
1423
+ "3": {
1424
+ "name": "punctuation.definition.markdown"
1425
+ },
1426
+ "4": {
1427
+ "name": "fenced_code.block.language.markdown"
1428
+ },
1429
+ "5": {
1430
+ "name": "fenced_code.block.language.attributes.markdown"
1431
+ }
1432
+ },
1433
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1434
+ "endCaptures": {
1435
+ "3": {
1436
+ "name": "punctuation.definition.markdown"
1437
+ }
1438
+ },
1439
+ "name": "markup.fenced_code.block.markdown",
1440
+ "patterns": [
1441
+ {
1442
+ "begin": "(^|\\G)(\\s*)(.*)",
1443
+ "contentName": "meta.embedded.block.lua",
1444
+ "patterns": [
1445
+ {
1446
+ "include": "source.lua"
1447
+ }
1448
+ ],
1449
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1450
+ }
1451
+ ]
1452
+ },
1453
+ "fenced_code_block_makefile": {
1454
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:((?:[Mm]|GNUm|OCamlM)akefile)((\\s+|[,:?{])[^`]*)?$)",
1455
+ "beginCaptures": {
1456
+ "3": {
1457
+ "name": "punctuation.definition.markdown"
1458
+ },
1459
+ "4": {
1460
+ "name": "fenced_code.block.language.markdown"
1461
+ },
1462
+ "5": {
1463
+ "name": "fenced_code.block.language.attributes.markdown"
1464
+ }
1465
+ },
1466
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1467
+ "endCaptures": {
1468
+ "3": {
1469
+ "name": "punctuation.definition.markdown"
1470
+ }
1471
+ },
1472
+ "name": "markup.fenced_code.block.markdown",
1473
+ "patterns": [
1474
+ {
1475
+ "begin": "(^|\\G)(\\s*)(.*)",
1476
+ "contentName": "meta.embedded.block.makefile",
1477
+ "patterns": [
1478
+ {
1479
+ "include": "source.makefile"
1480
+ }
1481
+ ],
1482
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1483
+ }
1484
+ ]
1485
+ },
1486
+ "fenced_code_block_markdown": {
1487
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(m(?:arkdown|d))((\\s+|[,:?{])[^`]*)?$)",
1488
+ "beginCaptures": {
1489
+ "3": {
1490
+ "name": "punctuation.definition.markdown"
1491
+ },
1492
+ "4": {
1493
+ "name": "fenced_code.block.language.markdown"
1494
+ },
1495
+ "5": {
1496
+ "name": "fenced_code.block.language.attributes.markdown"
1497
+ }
1498
+ },
1499
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1500
+ "endCaptures": {
1501
+ "3": {
1502
+ "name": "punctuation.definition.markdown"
1503
+ }
1504
+ },
1505
+ "name": "markup.fenced_code.block.markdown",
1506
+ "patterns": [
1507
+ {
1508
+ "begin": "(^|\\G)(\\s*)(.*)",
1509
+ "contentName": "meta.embedded.block.markdown",
1510
+ "patterns": [
1511
+ {
1512
+ "include": "text.html.markdown"
1513
+ }
1514
+ ],
1515
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1516
+ }
1517
+ ]
1518
+ },
1519
+ "fenced_code_block_objc": {
1520
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(objectivec|objective-c|mm|objc|obj-c|[hm])((\\s+|[,:?{])[^`]*)?$)",
1521
+ "beginCaptures": {
1522
+ "3": {
1523
+ "name": "punctuation.definition.markdown"
1524
+ },
1525
+ "4": {
1526
+ "name": "fenced_code.block.language.markdown"
1527
+ },
1528
+ "5": {
1529
+ "name": "fenced_code.block.language.attributes.markdown"
1530
+ }
1531
+ },
1532
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1533
+ "endCaptures": {
1534
+ "3": {
1535
+ "name": "punctuation.definition.markdown"
1536
+ }
1537
+ },
1538
+ "name": "markup.fenced_code.block.markdown",
1539
+ "patterns": [
1540
+ {
1541
+ "begin": "(^|\\G)(\\s*)(.*)",
1542
+ "contentName": "meta.embedded.block.objc",
1543
+ "patterns": [
1544
+ {
1545
+ "include": "source.objc"
1546
+ }
1547
+ ],
1548
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1549
+ }
1550
+ ]
1551
+ },
1552
+ "fenced_code_block_perl": {
1553
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl|pl|pm|pod|t|PL|psgi|vcl)((\\s+|[,:?{])[^`]*)?$)",
1554
+ "beginCaptures": {
1555
+ "3": {
1556
+ "name": "punctuation.definition.markdown"
1557
+ },
1558
+ "4": {
1559
+ "name": "fenced_code.block.language.markdown"
1560
+ },
1561
+ "5": {
1562
+ "name": "fenced_code.block.language.attributes.markdown"
1563
+ }
1564
+ },
1565
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1566
+ "endCaptures": {
1567
+ "3": {
1568
+ "name": "punctuation.definition.markdown"
1569
+ }
1570
+ },
1571
+ "name": "markup.fenced_code.block.markdown",
1572
+ "patterns": [
1573
+ {
1574
+ "begin": "(^|\\G)(\\s*)(.*)",
1575
+ "contentName": "meta.embedded.block.perl",
1576
+ "patterns": [
1577
+ {
1578
+ "include": "source.perl"
1579
+ }
1580
+ ],
1581
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1582
+ }
1583
+ ]
1584
+ },
1585
+ "fenced_code_block_perl6": {
1586
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl6|p6|pl6|pm6|nqp)((\\s+|[,:?{])[^`]*)?$)",
1587
+ "beginCaptures": {
1588
+ "3": {
1589
+ "name": "punctuation.definition.markdown"
1590
+ },
1591
+ "4": {
1592
+ "name": "fenced_code.block.language.markdown"
1593
+ },
1594
+ "5": {
1595
+ "name": "fenced_code.block.language.attributes.markdown"
1596
+ }
1597
+ },
1598
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1599
+ "endCaptures": {
1600
+ "3": {
1601
+ "name": "punctuation.definition.markdown"
1602
+ }
1603
+ },
1604
+ "name": "markup.fenced_code.block.markdown",
1605
+ "patterns": [
1606
+ {
1607
+ "begin": "(^|\\G)(\\s*)(.*)",
1608
+ "contentName": "meta.embedded.block.perl6",
1609
+ "patterns": [
1610
+ {
1611
+ "include": "source.perl.6"
1612
+ }
1613
+ ],
1614
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1615
+ }
1616
+ ]
1617
+ },
1618
+ "fenced_code_block_php": {
1619
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(php3??|php4|php5|phpt|phtml|aw|ctp)((\\s+|[,:?{])[^`]*)?$)",
1620
+ "beginCaptures": {
1621
+ "3": {
1622
+ "name": "punctuation.definition.markdown"
1623
+ },
1624
+ "4": {
1625
+ "name": "fenced_code.block.language.markdown"
1626
+ },
1627
+ "5": {
1628
+ "name": "fenced_code.block.language.attributes.markdown"
1629
+ }
1630
+ },
1631
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1632
+ "endCaptures": {
1633
+ "3": {
1634
+ "name": "punctuation.definition.markdown"
1635
+ }
1636
+ },
1637
+ "name": "markup.fenced_code.block.markdown",
1638
+ "patterns": [
1639
+ {
1640
+ "begin": "(^|\\G)(\\s*)(.*)",
1641
+ "contentName": "meta.embedded.block.php",
1642
+ "patterns": [
1643
+ {
1644
+ "include": "text.html.basic"
1645
+ },
1646
+ {
1647
+ "include": "source.php"
1648
+ }
1649
+ ],
1650
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1651
+ }
1652
+ ]
1653
+ },
1654
+ "fenced_code_block_powershell": {
1655
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(p(?:owershell|s1|sm1|sd1|wsh))((\\s+|[,:?{])[^`]*)?$)",
1656
+ "beginCaptures": {
1657
+ "3": {
1658
+ "name": "punctuation.definition.markdown"
1659
+ },
1660
+ "4": {
1661
+ "name": "fenced_code.block.language.markdown"
1662
+ },
1663
+ "5": {
1664
+ "name": "fenced_code.block.language.attributes.markdown"
1665
+ }
1666
+ },
1667
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1668
+ "endCaptures": {
1669
+ "3": {
1670
+ "name": "punctuation.definition.markdown"
1671
+ }
1672
+ },
1673
+ "name": "markup.fenced_code.block.markdown",
1674
+ "patterns": [
1675
+ {
1676
+ "begin": "(^|\\G)(\\s*)(.*)",
1677
+ "contentName": "meta.embedded.block.powershell",
1678
+ "patterns": [
1679
+ {
1680
+ "include": "source.powershell"
1681
+ }
1682
+ ],
1683
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1684
+ }
1685
+ ]
1686
+ },
1687
+ "fenced_code_block_pug": {
1688
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jade|pug)((\\s+|[,:?{])[^`]*)?$)",
1689
+ "beginCaptures": {
1690
+ "3": {
1691
+ "name": "punctuation.definition.markdown"
1692
+ },
1693
+ "4": {
1694
+ "name": "fenced_code.block.language.markdown"
1695
+ },
1696
+ "5": {
1697
+ "name": "fenced_code.block.language.attributes.markdown"
1698
+ }
1699
+ },
1700
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1701
+ "endCaptures": {
1702
+ "3": {
1703
+ "name": "punctuation.definition.markdown"
1704
+ }
1705
+ },
1706
+ "name": "markup.fenced_code.block.markdown",
1707
+ "patterns": [
1708
+ {
1709
+ "begin": "(^|\\G)(\\s*)(.*)",
1710
+ "contentName": "meta.embedded.block.pug",
1711
+ "patterns": [
1712
+ {
1713
+ "include": "text.pug"
1714
+ }
1715
+ ],
1716
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1717
+ }
1718
+ ]
1719
+ },
1720
+ "fenced_code_block_python": {
1721
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??|\\{\\.python.+?})((\\s+|[,:?{])[^`]*)?$)",
1722
+ "beginCaptures": {
1723
+ "3": {
1724
+ "name": "punctuation.definition.markdown"
1725
+ },
1726
+ "4": {
1727
+ "name": "fenced_code.block.language.markdown"
1728
+ },
1729
+ "5": {
1730
+ "name": "fenced_code.block.language.attributes.markdown"
1731
+ }
1732
+ },
1733
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1734
+ "endCaptures": {
1735
+ "3": {
1736
+ "name": "punctuation.definition.markdown"
1737
+ }
1738
+ },
1739
+ "name": "markup.fenced_code.block.markdown",
1740
+ "patterns": [
1741
+ {
1742
+ "begin": "(^|\\G)(\\s*)(.*)",
1743
+ "contentName": "meta.embedded.block.python",
1744
+ "patterns": [
1745
+ {
1746
+ "include": "source.python"
1747
+ }
1748
+ ],
1749
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1750
+ }
1751
+ ]
1752
+ },
1753
+ "fenced_code_block_r": {
1754
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:([RSrs]|Rprofile|\\{\\.r.+?})((\\s+|[,:?{])[^`]*)?$)",
1755
+ "beginCaptures": {
1756
+ "3": {
1757
+ "name": "punctuation.definition.markdown"
1758
+ },
1759
+ "4": {
1760
+ "name": "fenced_code.block.language.markdown"
1761
+ },
1762
+ "5": {
1763
+ "name": "fenced_code.block.language.attributes.markdown"
1764
+ }
1765
+ },
1766
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1767
+ "endCaptures": {
1768
+ "3": {
1769
+ "name": "punctuation.definition.markdown"
1770
+ }
1771
+ },
1772
+ "name": "markup.fenced_code.block.markdown",
1773
+ "patterns": [
1774
+ {
1775
+ "begin": "(^|\\G)(\\s*)(.*)",
1776
+ "contentName": "meta.embedded.block.r",
1777
+ "patterns": [
1778
+ {
1779
+ "include": "source.r"
1780
+ }
1781
+ ],
1782
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1783
+ }
1784
+ ]
1785
+ },
1786
+ "fenced_code_block_regexp_python": {
1787
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(re)((\\s+|[,:?{])[^`]*)?$)",
1788
+ "beginCaptures": {
1789
+ "3": {
1790
+ "name": "punctuation.definition.markdown"
1791
+ },
1792
+ "4": {
1793
+ "name": "fenced_code.block.language.markdown"
1794
+ },
1795
+ "5": {
1796
+ "name": "fenced_code.block.language.attributes.markdown"
1797
+ }
1798
+ },
1799
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1800
+ "endCaptures": {
1801
+ "3": {
1802
+ "name": "punctuation.definition.markdown"
1803
+ }
1804
+ },
1805
+ "name": "markup.fenced_code.block.markdown",
1806
+ "patterns": [
1807
+ {
1808
+ "begin": "(^|\\G)(\\s*)(.*)",
1809
+ "contentName": "meta.embedded.block.regexp_python",
1810
+ "patterns": [
1811
+ {
1812
+ "include": "source.regexp.python"
1813
+ }
1814
+ ],
1815
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1816
+ }
1817
+ ]
1818
+ },
1819
+ "fenced_code_block_restructuredtext": {
1820
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(r(?:estructuredtext|st))((\\s+|[,:?{])[^`]*)?$)",
1821
+ "beginCaptures": {
1822
+ "3": {
1823
+ "name": "punctuation.definition.markdown"
1824
+ },
1825
+ "4": {
1826
+ "name": "fenced_code.block.language.markdown"
1827
+ },
1828
+ "5": {
1829
+ "name": "fenced_code.block.language.attributes.markdown"
1830
+ }
1831
+ },
1832
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1833
+ "endCaptures": {
1834
+ "3": {
1835
+ "name": "punctuation.definition.markdown"
1836
+ }
1837
+ },
1838
+ "name": "markup.fenced_code.block.markdown",
1839
+ "patterns": [
1840
+ {
1841
+ "begin": "(^|\\G)(\\s*)(.*)",
1842
+ "contentName": "meta.embedded.block.restructuredtext",
1843
+ "patterns": [
1844
+ {
1845
+ "include": "source.rst"
1846
+ }
1847
+ ],
1848
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1849
+ }
1850
+ ]
1851
+ },
1852
+ "fenced_code_block_ruby": {
1853
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile)((\\s+|[,:?{])[^`]*)?$)",
1854
+ "beginCaptures": {
1855
+ "3": {
1856
+ "name": "punctuation.definition.markdown"
1857
+ },
1858
+ "4": {
1859
+ "name": "fenced_code.block.language.markdown"
1860
+ },
1861
+ "5": {
1862
+ "name": "fenced_code.block.language.attributes.markdown"
1863
+ }
1864
+ },
1865
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1866
+ "endCaptures": {
1867
+ "3": {
1868
+ "name": "punctuation.definition.markdown"
1869
+ }
1870
+ },
1871
+ "name": "markup.fenced_code.block.markdown",
1872
+ "patterns": [
1873
+ {
1874
+ "begin": "(^|\\G)(\\s*)(.*)",
1875
+ "contentName": "meta.embedded.block.ruby",
1876
+ "patterns": [
1877
+ {
1878
+ "include": "source.ruby"
1879
+ }
1880
+ ],
1881
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1882
+ }
1883
+ ]
1884
+ },
1885
+ "fenced_code_block_rust": {
1886
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(rust|rs|\\{\\.rust.+?})((\\s+|[,:?{])[^`]*)?$)",
1887
+ "beginCaptures": {
1888
+ "3": {
1889
+ "name": "punctuation.definition.markdown"
1890
+ },
1891
+ "4": {
1892
+ "name": "fenced_code.block.language.markdown"
1893
+ },
1894
+ "5": {
1895
+ "name": "fenced_code.block.language.attributes.markdown"
1896
+ }
1897
+ },
1898
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1899
+ "endCaptures": {
1900
+ "3": {
1901
+ "name": "punctuation.definition.markdown"
1902
+ }
1903
+ },
1904
+ "name": "markup.fenced_code.block.markdown",
1905
+ "patterns": [
1906
+ {
1907
+ "begin": "(^|\\G)(\\s*)(.*)",
1908
+ "contentName": "meta.embedded.block.rust",
1909
+ "patterns": [
1910
+ {
1911
+ "include": "source.rust"
1912
+ }
1913
+ ],
1914
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1915
+ }
1916
+ ]
1917
+ },
1918
+ "fenced_code_block_scala": {
1919
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(s(?:cala|bt))((\\s+|[,:?{])[^`]*)?$)",
1920
+ "beginCaptures": {
1921
+ "3": {
1922
+ "name": "punctuation.definition.markdown"
1923
+ },
1924
+ "4": {
1925
+ "name": "fenced_code.block.language.markdown"
1926
+ },
1927
+ "5": {
1928
+ "name": "fenced_code.block.language.attributes.markdown"
1929
+ }
1930
+ },
1931
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1932
+ "endCaptures": {
1933
+ "3": {
1934
+ "name": "punctuation.definition.markdown"
1935
+ }
1936
+ },
1937
+ "name": "markup.fenced_code.block.markdown",
1938
+ "patterns": [
1939
+ {
1940
+ "begin": "(^|\\G)(\\s*)(.*)",
1941
+ "contentName": "meta.embedded.block.scala",
1942
+ "patterns": [
1943
+ {
1944
+ "include": "source.scala"
1945
+ }
1946
+ ],
1947
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1948
+ }
1949
+ ]
1950
+ },
1951
+ "fenced_code_block_scss": {
1952
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(scss)((\\s+|[,:?{])[^`]*)?$)",
1953
+ "beginCaptures": {
1954
+ "3": {
1955
+ "name": "punctuation.definition.markdown"
1956
+ },
1957
+ "4": {
1958
+ "name": "fenced_code.block.language.markdown"
1959
+ },
1960
+ "5": {
1961
+ "name": "fenced_code.block.language.attributes.markdown"
1962
+ }
1963
+ },
1964
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1965
+ "endCaptures": {
1966
+ "3": {
1967
+ "name": "punctuation.definition.markdown"
1968
+ }
1969
+ },
1970
+ "name": "markup.fenced_code.block.markdown",
1971
+ "patterns": [
1972
+ {
1973
+ "begin": "(^|\\G)(\\s*)(.*)",
1974
+ "contentName": "meta.embedded.block.scss",
1975
+ "patterns": [
1976
+ {
1977
+ "include": "source.css.scss"
1978
+ }
1979
+ ],
1980
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1981
+ }
1982
+ ]
1983
+ },
1984
+ "fenced_code_block_shell": {
1985
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init|\\{\\.bash.+?})((\\s+|[,:?{])[^`]*)?$)",
1986
+ "beginCaptures": {
1987
+ "3": {
1988
+ "name": "punctuation.definition.markdown"
1989
+ },
1990
+ "4": {
1991
+ "name": "fenced_code.block.language.markdown"
1992
+ },
1993
+ "5": {
1994
+ "name": "fenced_code.block.language.attributes.markdown"
1995
+ }
1996
+ },
1997
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1998
+ "endCaptures": {
1999
+ "3": {
2000
+ "name": "punctuation.definition.markdown"
2001
+ }
2002
+ },
2003
+ "name": "markup.fenced_code.block.markdown",
2004
+ "patterns": [
2005
+ {
2006
+ "begin": "(^|\\G)(\\s*)(.*)",
2007
+ "contentName": "meta.embedded.block.shellscript",
2008
+ "patterns": [
2009
+ {
2010
+ "include": "source.shell"
2011
+ }
2012
+ ],
2013
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2014
+ }
2015
+ ]
2016
+ },
2017
+ "fenced_code_block_sql": {
2018
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(sql|ddl|dml)((\\s+|[,:?{])[^`]*)?$)",
2019
+ "beginCaptures": {
2020
+ "3": {
2021
+ "name": "punctuation.definition.markdown"
2022
+ },
2023
+ "4": {
2024
+ "name": "fenced_code.block.language.markdown"
2025
+ },
2026
+ "5": {
2027
+ "name": "fenced_code.block.language.attributes.markdown"
2028
+ }
2029
+ },
2030
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2031
+ "endCaptures": {
2032
+ "3": {
2033
+ "name": "punctuation.definition.markdown"
2034
+ }
2035
+ },
2036
+ "name": "markup.fenced_code.block.markdown",
2037
+ "patterns": [
2038
+ {
2039
+ "begin": "(^|\\G)(\\s*)(.*)",
2040
+ "contentName": "meta.embedded.block.sql",
2041
+ "patterns": [
2042
+ {
2043
+ "include": "source.sql"
2044
+ }
2045
+ ],
2046
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2047
+ }
2048
+ ]
2049
+ },
2050
+ "fenced_code_block_swift": {
2051
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(swift)((\\s+|[,:?{])[^`]*)?$)",
2052
+ "beginCaptures": {
2053
+ "3": {
2054
+ "name": "punctuation.definition.markdown"
2055
+ },
2056
+ "4": {
2057
+ "name": "fenced_code.block.language.markdown"
2058
+ },
2059
+ "5": {
2060
+ "name": "fenced_code.block.language.attributes.markdown"
2061
+ }
2062
+ },
2063
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2064
+ "endCaptures": {
2065
+ "3": {
2066
+ "name": "punctuation.definition.markdown"
2067
+ }
2068
+ },
2069
+ "name": "markup.fenced_code.block.markdown",
2070
+ "patterns": [
2071
+ {
2072
+ "begin": "(^|\\G)(\\s*)(.*)",
2073
+ "contentName": "meta.embedded.block.swift",
2074
+ "patterns": [
2075
+ {
2076
+ "include": "source.swift"
2077
+ }
2078
+ ],
2079
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2080
+ }
2081
+ ]
2082
+ },
2083
+ "fenced_code_block_ts": {
2084
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(t(?:ypescript|s))((\\s+|[,:?{])[^`]*)?$)",
2085
+ "beginCaptures": {
2086
+ "3": {
2087
+ "name": "punctuation.definition.markdown"
2088
+ },
2089
+ "4": {
2090
+ "name": "fenced_code.block.language.markdown"
2091
+ },
2092
+ "5": {
2093
+ "name": "fenced_code.block.language.attributes.markdown"
2094
+ }
2095
+ },
2096
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2097
+ "endCaptures": {
2098
+ "3": {
2099
+ "name": "punctuation.definition.markdown"
2100
+ }
2101
+ },
2102
+ "name": "markup.fenced_code.block.markdown",
2103
+ "patterns": [
2104
+ {
2105
+ "begin": "(^|\\G)(\\s*)(.*)",
2106
+ "contentName": "meta.embedded.block.typescript",
2107
+ "patterns": [
2108
+ {
2109
+ "include": "source.ts"
2110
+ }
2111
+ ],
2112
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2113
+ }
2114
+ ]
2115
+ },
2116
+ "fenced_code_block_tsx": {
2117
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(tsx)((\\s+|[,:?{])[^`]*)?$)",
2118
+ "beginCaptures": {
2119
+ "3": {
2120
+ "name": "punctuation.definition.markdown"
2121
+ },
2122
+ "4": {
2123
+ "name": "fenced_code.block.language.markdown"
2124
+ },
2125
+ "5": {
2126
+ "name": "fenced_code.block.language.attributes.markdown"
2127
+ }
2128
+ },
2129
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2130
+ "endCaptures": {
2131
+ "3": {
2132
+ "name": "punctuation.definition.markdown"
2133
+ }
2134
+ },
2135
+ "name": "markup.fenced_code.block.markdown",
2136
+ "patterns": [
2137
+ {
2138
+ "begin": "(^|\\G)(\\s*)(.*)",
2139
+ "contentName": "meta.embedded.block.typescriptreact",
2140
+ "patterns": [
2141
+ {
2142
+ "include": "source.tsx"
2143
+ }
2144
+ ],
2145
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2146
+ }
2147
+ ]
2148
+ },
2149
+ "fenced_code_block_twig": {
2150
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(twig)((\\s+|[,:?{])[^`]*)?$)",
2151
+ "beginCaptures": {
2152
+ "3": {
2153
+ "name": "punctuation.definition.markdown"
2154
+ },
2155
+ "4": {
2156
+ "name": "fenced_code.block.language.markdown"
2157
+ },
2158
+ "5": {
2159
+ "name": "fenced_code.block.language.attributes.markdown"
2160
+ }
2161
+ },
2162
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2163
+ "endCaptures": {
2164
+ "3": {
2165
+ "name": "punctuation.definition.markdown"
2166
+ }
2167
+ },
2168
+ "name": "markup.fenced_code.block.markdown",
2169
+ "patterns": [
2170
+ {
2171
+ "begin": "(^|\\G)(\\s*)(.*)",
2172
+ "contentName": "meta.embedded.block.twig",
2173
+ "patterns": [
2174
+ {
2175
+ "include": "source.twig"
2176
+ }
2177
+ ],
2178
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2179
+ }
2180
+ ]
2181
+ },
2182
+ "fenced_code_block_unknown": {
2183
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?=([^`]*)?$)",
2184
+ "beginCaptures": {
2185
+ "3": {
2186
+ "name": "punctuation.definition.markdown"
2187
+ },
2188
+ "4": {
2189
+ "name": "fenced_code.block.language"
2190
+ }
2191
+ },
2192
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2193
+ "endCaptures": {
2194
+ "3": {
2195
+ "name": "punctuation.definition.markdown"
2196
+ }
2197
+ },
2198
+ "name": "markup.fenced_code.block.markdown"
2199
+ },
2200
+ "fenced_code_block_vs_net": {
2201
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vb)((\\s+|[,:?{])[^`]*)?$)",
2202
+ "beginCaptures": {
2203
+ "3": {
2204
+ "name": "punctuation.definition.markdown"
2205
+ },
2206
+ "4": {
2207
+ "name": "fenced_code.block.language.markdown"
2208
+ },
2209
+ "5": {
2210
+ "name": "fenced_code.block.language.attributes.markdown"
2211
+ }
2212
+ },
2213
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2214
+ "endCaptures": {
2215
+ "3": {
2216
+ "name": "punctuation.definition.markdown"
2217
+ }
2218
+ },
2219
+ "name": "markup.fenced_code.block.markdown",
2220
+ "patterns": [
2221
+ {
2222
+ "begin": "(^|\\G)(\\s*)(.*)",
2223
+ "contentName": "meta.embedded.block.vs_net",
2224
+ "patterns": [
2225
+ {
2226
+ "include": "source.asp.vb.net"
2227
+ }
2228
+ ],
2229
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2230
+ }
2231
+ ]
2232
+ },
2233
+ "fenced_code_block_xml": {
2234
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)((\\s+|[,:?{])[^`]*)?$)",
2235
+ "beginCaptures": {
2236
+ "3": {
2237
+ "name": "punctuation.definition.markdown"
2238
+ },
2239
+ "4": {
2240
+ "name": "fenced_code.block.language.markdown"
2241
+ },
2242
+ "5": {
2243
+ "name": "fenced_code.block.language.attributes.markdown"
2244
+ }
2245
+ },
2246
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2247
+ "endCaptures": {
2248
+ "3": {
2249
+ "name": "punctuation.definition.markdown"
2250
+ }
2251
+ },
2252
+ "name": "markup.fenced_code.block.markdown",
2253
+ "patterns": [
2254
+ {
2255
+ "begin": "(^|\\G)(\\s*)(.*)",
2256
+ "contentName": "meta.embedded.block.xml",
2257
+ "patterns": [
2258
+ {
2259
+ "include": "text.xml"
2260
+ }
2261
+ ],
2262
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2263
+ }
2264
+ ]
2265
+ },
2266
+ "fenced_code_block_xsl": {
2267
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(xslt??)((\\s+|[,:?{])[^`]*)?$)",
2268
+ "beginCaptures": {
2269
+ "3": {
2270
+ "name": "punctuation.definition.markdown"
2271
+ },
2272
+ "4": {
2273
+ "name": "fenced_code.block.language.markdown"
2274
+ },
2275
+ "5": {
2276
+ "name": "fenced_code.block.language.attributes.markdown"
2277
+ }
2278
+ },
2279
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2280
+ "endCaptures": {
2281
+ "3": {
2282
+ "name": "punctuation.definition.markdown"
2283
+ }
2284
+ },
2285
+ "name": "markup.fenced_code.block.markdown",
2286
+ "patterns": [
2287
+ {
2288
+ "begin": "(^|\\G)(\\s*)(.*)",
2289
+ "contentName": "meta.embedded.block.xsl",
2290
+ "patterns": [
2291
+ {
2292
+ "include": "text.xml.xsl"
2293
+ }
2294
+ ],
2295
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2296
+ }
2297
+ ]
2298
+ },
2299
+ "fenced_code_block_yaml": {
2300
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ya?ml)((\\s+|[,:?{])[^`]*)?$)",
2301
+ "beginCaptures": {
2302
+ "3": {
2303
+ "name": "punctuation.definition.markdown"
2304
+ },
2305
+ "4": {
2306
+ "name": "fenced_code.block.language.markdown"
2307
+ },
2308
+ "5": {
2309
+ "name": "fenced_code.block.language.attributes.markdown"
2310
+ }
2311
+ },
2312
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2313
+ "endCaptures": {
2314
+ "3": {
2315
+ "name": "punctuation.definition.markdown"
2316
+ }
2317
+ },
2318
+ "name": "markup.fenced_code.block.markdown",
2319
+ "patterns": [
2320
+ {
2321
+ "begin": "(^|\\G)(\\s*)(.*)",
2322
+ "contentName": "meta.embedded.block.yaml",
2323
+ "patterns": [
2324
+ {
2325
+ "include": "source.yaml"
2326
+ }
2327
+ ],
2328
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2329
+ }
2330
+ ]
2331
+ },
2332
+ "fenced_code_block_yang": {
2333
+ "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(yang)((\\s+|[,:?{])[^`]*)?$)",
2334
+ "beginCaptures": {
2335
+ "3": {
2336
+ "name": "punctuation.definition.markdown"
2337
+ },
2338
+ "4": {
2339
+ "name": "fenced_code.block.language.markdown"
2340
+ },
2341
+ "5": {
2342
+ "name": "fenced_code.block.language.attributes.markdown"
2343
+ }
2344
+ },
2345
+ "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2346
+ "endCaptures": {
2347
+ "3": {
2348
+ "name": "punctuation.definition.markdown"
2349
+ }
2350
+ },
2351
+ "name": "markup.fenced_code.block.markdown",
2352
+ "patterns": [
2353
+ {
2354
+ "begin": "(^|\\G)(\\s*)(.*)",
2355
+ "contentName": "meta.embedded.block.yang",
2356
+ "patterns": [
2357
+ {
2358
+ "include": "source.yang"
2359
+ }
2360
+ ],
2361
+ "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2362
+ }
2363
+ ]
2364
+ },
2365
+ "frontMatter": {
2366
+ "applyEndPatternLast": 1,
2367
+ "begin": "\\A(?=(-{3,}))",
2368
+ "end": "^(?: {0,3}\\1-*[\\t ]*|[\\t ]*\\.{3})$",
2369
+ "endCaptures": {
2370
+ "0": {
2371
+ "name": "punctuation.definition.end.frontmatter"
2372
+ }
2373
+ },
2374
+ "patterns": [
2375
+ {
2376
+ "begin": "\\A(-{3,})(.*)$",
2377
+ "beginCaptures": {
2378
+ "1": {
2379
+ "name": "punctuation.definition.begin.frontmatter"
2380
+ },
2381
+ "2": {
2382
+ "name": "comment.frontmatter"
2383
+ }
2384
+ },
2385
+ "contentName": "meta.embedded.block.frontmatter",
2386
+ "patterns": [
2387
+ {
2388
+ "include": "source.yaml"
2389
+ }
2390
+ ],
2391
+ "while": "^(?!(?: {0,3}\\1-*[\\t ]*|[\\t ]*\\.{3})$)"
2392
+ }
2393
+ ]
2394
+ },
2395
+ "heading": {
2396
+ "captures": {
2397
+ "1": {
2398
+ "patterns": [
2399
+ {
2400
+ "captures": {
2401
+ "1": {
2402
+ "name": "punctuation.definition.heading.markdown"
2403
+ },
2404
+ "2": {
2405
+ "name": "entity.name.section.markdown",
2406
+ "patterns": [
2407
+ {
2408
+ "include": "#inline"
2409
+ },
2410
+ {
2411
+ "include": "text.html.derivative"
2412
+ }
2413
+ ]
2414
+ },
2415
+ "3": {
2416
+ "name": "punctuation.definition.heading.markdown"
2417
+ }
2418
+ },
2419
+ "match": "(#{6})\\s+(.*?)(?:\\s+(#+))?\\s*$",
2420
+ "name": "heading.6.markdown"
2421
+ },
2422
+ {
2423
+ "captures": {
2424
+ "1": {
2425
+ "name": "punctuation.definition.heading.markdown"
2426
+ },
2427
+ "2": {
2428
+ "name": "entity.name.section.markdown",
2429
+ "patterns": [
2430
+ {
2431
+ "include": "#inline"
2432
+ },
2433
+ {
2434
+ "include": "text.html.derivative"
2435
+ }
2436
+ ]
2437
+ },
2438
+ "3": {
2439
+ "name": "punctuation.definition.heading.markdown"
2440
+ }
2441
+ },
2442
+ "match": "(#{5})\\s+(.*?)(?:\\s+(#+))?\\s*$",
2443
+ "name": "heading.5.markdown"
2444
+ },
2445
+ {
2446
+ "captures": {
2447
+ "1": {
2448
+ "name": "punctuation.definition.heading.markdown"
2449
+ },
2450
+ "2": {
2451
+ "name": "entity.name.section.markdown",
2452
+ "patterns": [
2453
+ {
2454
+ "include": "#inline"
2455
+ },
2456
+ {
2457
+ "include": "text.html.derivative"
2458
+ }
2459
+ ]
2460
+ },
2461
+ "3": {
2462
+ "name": "punctuation.definition.heading.markdown"
2463
+ }
2464
+ },
2465
+ "match": "(#{4})\\s+(.*?)(?:\\s+(#+))?\\s*$",
2466
+ "name": "heading.4.markdown"
2467
+ },
2468
+ {
2469
+ "captures": {
2470
+ "1": {
2471
+ "name": "punctuation.definition.heading.markdown"
2472
+ },
2473
+ "2": {
2474
+ "name": "entity.name.section.markdown",
2475
+ "patterns": [
2476
+ {
2477
+ "include": "#inline"
2478
+ },
2479
+ {
2480
+ "include": "text.html.derivative"
2481
+ }
2482
+ ]
2483
+ },
2484
+ "3": {
2485
+ "name": "punctuation.definition.heading.markdown"
2486
+ }
2487
+ },
2488
+ "match": "(#{3})\\s+(.*?)(?:\\s+(#+))?\\s*$",
2489
+ "name": "heading.3.markdown"
2490
+ },
2491
+ {
2492
+ "captures": {
2493
+ "1": {
2494
+ "name": "punctuation.definition.heading.markdown"
2495
+ },
2496
+ "2": {
2497
+ "name": "entity.name.section.markdown",
2498
+ "patterns": [
2499
+ {
2500
+ "include": "#inline"
2501
+ },
2502
+ {
2503
+ "include": "text.html.derivative"
2504
+ }
2505
+ ]
2506
+ },
2507
+ "3": {
2508
+ "name": "punctuation.definition.heading.markdown"
2509
+ }
2510
+ },
2511
+ "match": "(#{2})\\s+(.*?)(?:\\s+(#+))?\\s*$",
2512
+ "name": "heading.2.markdown"
2513
+ },
2514
+ {
2515
+ "captures": {
2516
+ "1": {
2517
+ "name": "punctuation.definition.heading.markdown"
2518
+ },
2519
+ "2": {
2520
+ "name": "entity.name.section.markdown",
2521
+ "patterns": [
2522
+ {
2523
+ "include": "#inline"
2524
+ },
2525
+ {
2526
+ "include": "text.html.derivative"
2527
+ }
2528
+ ]
2529
+ },
2530
+ "3": {
2531
+ "name": "punctuation.definition.heading.markdown"
2532
+ }
2533
+ },
2534
+ "match": "(#{1})\\s+(.*?)(?:\\s+(#+))?\\s*$",
2535
+ "name": "heading.1.markdown"
2536
+ }
2537
+ ]
2538
+ }
2539
+ },
2540
+ "match": "(?:^|\\G) {0,3}(#{1,6}\\s+(.*?)(\\s+#{1,6})?\\s*)$",
2541
+ "name": "markup.heading.markdown"
2542
+ },
2543
+ "heading-setext": {
2544
+ "patterns": [
2545
+ {
2546
+ "match": "^(={3,})(?=[\\t ]*$\\n?)",
2547
+ "name": "markup.heading.setext.1.markdown"
2548
+ },
2549
+ {
2550
+ "match": "^(-{3,})(?=[\\t ]*$\\n?)",
2551
+ "name": "markup.heading.setext.2.markdown"
2552
+ }
2553
+ ]
2554
+ },
2555
+ "html": {
2556
+ "patterns": [
2557
+ {
2558
+ "begin": "(^|\\G)\\s*(<!--)",
2559
+ "captures": {
2560
+ "1": {
2561
+ "name": "punctuation.definition.comment.html"
2562
+ },
2563
+ "2": {
2564
+ "name": "punctuation.definition.comment.html"
2565
+ }
2566
+ },
2567
+ "end": "(-->)",
2568
+ "name": "comment.block.html"
2569
+ },
2570
+ {
2571
+ "begin": "(?i)(^|\\G)\\s*(?=<(script|style|pre)(\\s|$|>)(?!.*?</(script|style|pre)>))",
2572
+ "end": "(?i)(.*)((</)(script|style|pre)(>))",
2573
+ "endCaptures": {
2574
+ "1": {
2575
+ "patterns": [
2576
+ {
2577
+ "include": "text.html.derivative"
2578
+ }
2579
+ ]
2580
+ },
2581
+ "2": {
2582
+ "name": "meta.tag.structure.$4.end.html"
2583
+ },
2584
+ "3": {
2585
+ "name": "punctuation.definition.tag.begin.html"
2586
+ },
2587
+ "4": {
2588
+ "name": "entity.name.tag.html"
2589
+ },
2590
+ "5": {
2591
+ "name": "punctuation.definition.tag.end.html"
2592
+ }
2593
+ },
2594
+ "patterns": [
2595
+ {
2596
+ "begin": "(\\s*|$)",
2597
+ "patterns": [
2598
+ {
2599
+ "include": "text.html.derivative"
2600
+ }
2601
+ ],
2602
+ "while": "(?i)^(?!.*</(script|style|pre)>)"
2603
+ }
2604
+ ]
2605
+ },
2606
+ {
2607
+ "begin": "(?i)(^|\\G)\\s*(?=</?[A-Za-z]+[^\\&/;gt\\s]*(\\s|$|/?>))",
2608
+ "patterns": [
2609
+ {
2610
+ "include": "text.html.derivative"
2611
+ }
2612
+ ],
2613
+ "while": "^(?!\\s*$)"
2614
+ },
2615
+ {
2616
+ "begin": "(^|\\G)\\s*(?=(<(?:[-0-9A-Za-z](/?>|\\s.*?>)|/[-0-9A-Za-z]>))\\s*$)",
2617
+ "patterns": [
2618
+ {
2619
+ "include": "text.html.derivative"
2620
+ }
2621
+ ],
2622
+ "while": "^(?!\\s*$)"
2623
+ }
2624
+ ]
2625
+ },
2626
+ "image-inline": {
2627
+ "captures": {
2628
+ "1": {
2629
+ "name": "punctuation.definition.link.description.begin.markdown"
2630
+ },
2631
+ "10": {
2632
+ "name": "markup.underline.link.image.markdown"
2633
+ },
2634
+ "12": {
2635
+ "name": "string.other.link.description.title.markdown"
2636
+ },
2637
+ "13": {
2638
+ "name": "punctuation.definition.string.begin.markdown"
2639
+ },
2640
+ "14": {
2641
+ "name": "punctuation.definition.string.end.markdown"
2642
+ },
2643
+ "15": {
2644
+ "name": "string.other.link.description.title.markdown"
2645
+ },
2646
+ "16": {
2647
+ "name": "punctuation.definition.string.begin.markdown"
2648
+ },
2649
+ "17": {
2650
+ "name": "punctuation.definition.string.end.markdown"
2651
+ },
2652
+ "18": {
2653
+ "name": "string.other.link.description.title.markdown"
2654
+ },
2655
+ "19": {
2656
+ "name": "punctuation.definition.string.begin.markdown"
2657
+ },
2658
+ "2": {
2659
+ "name": "string.other.link.description.markdown"
2660
+ },
2661
+ "20": {
2662
+ "name": "punctuation.definition.string.end.markdown"
2663
+ },
2664
+ "21": {
2665
+ "name": "punctuation.definition.metadata.markdown"
2666
+ },
2667
+ "4": {
2668
+ "name": "punctuation.definition.link.description.end.markdown"
2669
+ },
2670
+ "5": {
2671
+ "name": "punctuation.definition.metadata.markdown"
2672
+ },
2673
+ "7": {
2674
+ "name": "punctuation.definition.link.markdown"
2675
+ },
2676
+ "8": {
2677
+ "name": "markup.underline.link.image.markdown"
2678
+ },
2679
+ "9": {
2680
+ "name": "punctuation.definition.link.markdown"
2681
+ }
2682
+ },
2683
+ "match": "(!\\[)((?<square>[^]\\[\\\\]|\\\\.|\\[\\g<square>*+])*+)(])(\\()[\\t ]*((<)((?:\\\\[<>]|[^\\n<>])*)(>)|((?<url>(?>[^()\\s]+)|\\(\\g<url>*\\))*))[\\t ]*(?:((\\().+?(\\)))|((\").+?(\"))|((').+?(')))?\\s*(\\))",
2684
+ "name": "meta.image.inline.markdown"
2685
+ },
2686
+ "image-ref": {
2687
+ "captures": {
2688
+ "1": {
2689
+ "name": "punctuation.definition.link.description.begin.markdown"
2690
+ },
2691
+ "2": {
2692
+ "name": "string.other.link.description.markdown"
2693
+ },
2694
+ "4": {
2695
+ "name": "punctuation.definition.link.description.end.markdown"
2696
+ },
2697
+ "5": {
2698
+ "name": "punctuation.definition.constant.markdown"
2699
+ },
2700
+ "6": {
2701
+ "name": "constant.other.reference.link.markdown"
2702
+ },
2703
+ "7": {
2704
+ "name": "punctuation.definition.constant.markdown"
2705
+ }
2706
+ },
2707
+ "match": "(!\\[)((?<square>[^]\\[\\\\]|\\\\.|\\[\\g<square>*+])*+)(]) ?(\\[)(.*?)(])",
2708
+ "name": "meta.image.reference.markdown"
2709
+ },
2710
+ "inline": {
2711
+ "patterns": [
2712
+ {
2713
+ "include": "#ampersand"
2714
+ },
2715
+ {
2716
+ "include": "#bracket"
2717
+ },
2718
+ {
2719
+ "include": "#bold"
2720
+ },
2721
+ {
2722
+ "include": "#italic"
2723
+ },
2724
+ {
2725
+ "include": "#raw"
2726
+ },
2727
+ {
2728
+ "include": "#strikethrough"
2729
+ },
2730
+ {
2731
+ "include": "#escape"
2732
+ },
2733
+ {
2734
+ "include": "#image-inline"
2735
+ },
2736
+ {
2737
+ "include": "#image-ref"
2738
+ },
2739
+ {
2740
+ "include": "#link-email"
2741
+ },
2742
+ {
2743
+ "include": "#link-inet"
2744
+ },
2745
+ {
2746
+ "include": "#link-inline"
2747
+ },
2748
+ {
2749
+ "include": "#link-ref"
2750
+ },
2751
+ {
2752
+ "include": "#link-ref-literal"
2753
+ },
2754
+ {
2755
+ "include": "#link-ref-shortcut"
2756
+ }
2757
+ ]
2758
+ },
2759
+ "italic": {
2760
+ "begin": "(?<open>(\\*(?=\\w)|(?<!\\w)\\*|(?<!\\w)\\b_))(?=\\S)(?=(<[^>]*+>|(?<raw>`+)([^`]|(?!(?<!`)\\k<raw>(?!`))`)*+\\k<raw>|\\\\[-\\]!#(-+.>\\[\\\\_`{}]?+|\\[((?<square>[^]\\[\\\\]|\\\\.|\\[\\g<square>*+])*+](( ?\\[[^]]*+])|(\\([\\t ]*+<?(.*?)>?[\\t ]*+((?<title>[\"'])(.*?)\\k<title>)?\\))))|\\k<open>\\k<open>|(?!(?<=\\S)\\k<open>).)++(?<=\\S)(?=_\\b|\\*)\\k<open>)",
2761
+ "captures": {
2762
+ "1": {
2763
+ "name": "punctuation.definition.italic.markdown"
2764
+ }
2765
+ },
2766
+ "end": "(?<=\\S)(\\1)((?!\\1)|(?=\\1\\1))",
2767
+ "name": "markup.italic.markdown",
2768
+ "patterns": [
2769
+ {
2770
+ "applyEndPatternLast": 1,
2771
+ "begin": "(?=<[^>]*?>)",
2772
+ "end": "(?<=>)",
2773
+ "patterns": [
2774
+ {
2775
+ "include": "text.html.derivative"
2776
+ }
2777
+ ]
2778
+ },
2779
+ {
2780
+ "include": "#escape"
2781
+ },
2782
+ {
2783
+ "include": "#ampersand"
2784
+ },
2785
+ {
2786
+ "include": "#bracket"
2787
+ },
2788
+ {
2789
+ "include": "#raw"
2790
+ },
2791
+ {
2792
+ "include": "#bold"
2793
+ },
2794
+ {
2795
+ "include": "#image-inline"
2796
+ },
2797
+ {
2798
+ "include": "#link-inline"
2799
+ },
2800
+ {
2801
+ "include": "#link-inet"
2802
+ },
2803
+ {
2804
+ "include": "#link-email"
2805
+ },
2806
+ {
2807
+ "include": "#image-ref"
2808
+ },
2809
+ {
2810
+ "include": "#link-ref-literal"
2811
+ },
2812
+ {
2813
+ "include": "#link-ref"
2814
+ },
2815
+ {
2816
+ "include": "#link-ref-shortcut"
2817
+ },
2818
+ {
2819
+ "include": "#strikethrough"
2820
+ }
2821
+ ]
2822
+ },
2823
+ "link-def": {
2824
+ "captures": {
2825
+ "1": {
2826
+ "name": "punctuation.definition.constant.markdown"
2827
+ },
2828
+ "10": {
2829
+ "name": "punctuation.definition.string.begin.markdown"
2830
+ },
2831
+ "11": {
2832
+ "name": "punctuation.definition.string.end.markdown"
2833
+ },
2834
+ "12": {
2835
+ "name": "string.other.link.description.title.markdown"
2836
+ },
2837
+ "13": {
2838
+ "name": "punctuation.definition.string.begin.markdown"
2839
+ },
2840
+ "14": {
2841
+ "name": "punctuation.definition.string.end.markdown"
2842
+ },
2843
+ "15": {
2844
+ "name": "string.other.link.description.title.markdown"
2845
+ },
2846
+ "16": {
2847
+ "name": "punctuation.definition.string.begin.markdown"
2848
+ },
2849
+ "17": {
2850
+ "name": "punctuation.definition.string.end.markdown"
2851
+ },
2852
+ "2": {
2853
+ "name": "constant.other.reference.link.markdown"
2854
+ },
2855
+ "3": {
2856
+ "name": "punctuation.definition.constant.markdown"
2857
+ },
2858
+ "4": {
2859
+ "name": "punctuation.separator.key-value.markdown"
2860
+ },
2861
+ "5": {
2862
+ "name": "punctuation.definition.link.markdown"
2863
+ },
2864
+ "6": {
2865
+ "name": "markup.underline.link.markdown"
2866
+ },
2867
+ "7": {
2868
+ "name": "punctuation.definition.link.markdown"
2869
+ },
2870
+ "8": {
2871
+ "name": "markup.underline.link.markdown"
2872
+ },
2873
+ "9": {
2874
+ "name": "string.other.link.description.title.markdown"
2875
+ }
2876
+ },
2877
+ "match": "\\s*(\\[)([^]]+?)(])(:)[\\t ]*(?:(<)((?:\\\\[<>]|[^\\n<>])*)(>)|(\\S+?))[\\t ]*(?:((\\().+?(\\)))|((\").+?(\"))|((').+?(')))?\\s*$",
2878
+ "name": "meta.link.reference.def.markdown"
2879
+ },
2880
+ "link-email": {
2881
+ "captures": {
2882
+ "1": {
2883
+ "name": "punctuation.definition.link.markdown"
2884
+ },
2885
+ "2": {
2886
+ "name": "markup.underline.link.markdown"
2887
+ },
2888
+ "4": {
2889
+ "name": "punctuation.definition.link.markdown"
2890
+ }
2891
+ },
2892
+ "match": "(<)((?:mailto:)?[!#-'*+\\--9=?A-Z^-~]+@[-0-9A-Za-z]+(?:\\.[-0-9A-Za-z]+)*)(>)",
2893
+ "name": "meta.link.email.lt-gt.markdown"
2894
+ },
2895
+ "link-inet": {
2896
+ "captures": {
2897
+ "1": {
2898
+ "name": "punctuation.definition.link.markdown"
2899
+ },
2900
+ "2": {
2901
+ "name": "markup.underline.link.markdown"
2902
+ },
2903
+ "3": {
2904
+ "name": "punctuation.definition.link.markdown"
2905
+ }
2906
+ },
2907
+ "match": "(<)((?:https?|ftp)://.*?)(>)",
2908
+ "name": "meta.link.inet.markdown"
2909
+ },
2910
+ "link-inline": {
2911
+ "captures": {
2912
+ "1": {
2913
+ "name": "punctuation.definition.link.title.begin.markdown"
2914
+ },
2915
+ "10": {
2916
+ "name": "markup.underline.link.markdown"
2917
+ },
2918
+ "12": {
2919
+ "name": "string.other.link.description.title.markdown"
2920
+ },
2921
+ "13": {
2922
+ "name": "punctuation.definition.string.begin.markdown"
2923
+ },
2924
+ "14": {
2925
+ "name": "punctuation.definition.string.end.markdown"
2926
+ },
2927
+ "15": {
2928
+ "name": "string.other.link.description.title.markdown"
2929
+ },
2930
+ "16": {
2931
+ "name": "punctuation.definition.string.begin.markdown"
2932
+ },
2933
+ "17": {
2934
+ "name": "punctuation.definition.string.end.markdown"
2935
+ },
2936
+ "18": {
2937
+ "name": "string.other.link.description.title.markdown"
2938
+ },
2939
+ "19": {
2940
+ "name": "punctuation.definition.string.begin.markdown"
2941
+ },
2942
+ "2": {
2943
+ "name": "string.other.link.title.markdown",
2944
+ "patterns": [
2945
+ {
2946
+ "include": "#raw"
2947
+ },
2948
+ {
2949
+ "include": "#bold"
2950
+ },
2951
+ {
2952
+ "include": "#italic"
2953
+ },
2954
+ {
2955
+ "include": "#strikethrough"
2956
+ },
2957
+ {
2958
+ "include": "#image-inline"
2959
+ }
2960
+ ]
2961
+ },
2962
+ "20": {
2963
+ "name": "punctuation.definition.string.end.markdown"
2964
+ },
2965
+ "21": {
2966
+ "name": "punctuation.definition.metadata.markdown"
2967
+ },
2968
+ "4": {
2969
+ "name": "punctuation.definition.link.title.end.markdown"
2970
+ },
2971
+ "5": {
2972
+ "name": "punctuation.definition.metadata.markdown"
2973
+ },
2974
+ "7": {
2975
+ "name": "punctuation.definition.link.markdown"
2976
+ },
2977
+ "8": {
2978
+ "name": "markup.underline.link.markdown"
2979
+ },
2980
+ "9": {
2981
+ "name": "punctuation.definition.link.markdown"
2982
+ }
2983
+ },
2984
+ "match": "(\\[)((?<square>[^]\\[\\\\]|\\\\.|\\[\\g<square>*+])*+)(])(\\()[\\t ]*((<)((?:\\\\[<>]|[^\\n<>])*)(>)|((?<url>(?>[^()\\s]+)|\\(\\g<url>*\\))*))[\\t ]*(?:((\\()[^()]*(\\)))|((\")[^\"]*(\"))|((')[^']*(')))?\\s*(\\))",
2985
+ "name": "meta.link.inline.markdown"
2986
+ },
2987
+ "link-ref": {
2988
+ "captures": {
2989
+ "1": {
2990
+ "name": "punctuation.definition.link.title.begin.markdown"
2991
+ },
2992
+ "2": {
2993
+ "name": "string.other.link.title.markdown",
2994
+ "patterns": [
2995
+ {
2996
+ "include": "#raw"
2997
+ },
2998
+ {
2999
+ "include": "#bold"
3000
+ },
3001
+ {
3002
+ "include": "#italic"
3003
+ },
3004
+ {
3005
+ "include": "#strikethrough"
3006
+ },
3007
+ {
3008
+ "include": "#image-inline"
3009
+ }
3010
+ ]
3011
+ },
3012
+ "4": {
3013
+ "name": "punctuation.definition.link.title.end.markdown"
3014
+ },
3015
+ "5": {
3016
+ "name": "punctuation.definition.constant.begin.markdown"
3017
+ },
3018
+ "6": {
3019
+ "name": "constant.other.reference.link.markdown"
3020
+ },
3021
+ "7": {
3022
+ "name": "punctuation.definition.constant.end.markdown"
3023
+ }
3024
+ },
3025
+ "match": "(?<![]\\\\])(\\[)((?<square>[^]\\[\\\\]|\\\\.|\\[\\g<square>*+])*+)(])(\\[)([^]]*+)(])",
3026
+ "name": "meta.link.reference.markdown"
3027
+ },
3028
+ "link-ref-literal": {
3029
+ "captures": {
3030
+ "1": {
3031
+ "name": "punctuation.definition.link.title.begin.markdown"
3032
+ },
3033
+ "2": {
3034
+ "name": "string.other.link.title.markdown"
3035
+ },
3036
+ "4": {
3037
+ "name": "punctuation.definition.link.title.end.markdown"
3038
+ },
3039
+ "5": {
3040
+ "name": "punctuation.definition.constant.begin.markdown"
3041
+ },
3042
+ "6": {
3043
+ "name": "punctuation.definition.constant.end.markdown"
3044
+ }
3045
+ },
3046
+ "match": "(?<![]\\\\])(\\[)((?<square>[^]\\[\\\\]|\\\\.|\\[\\g<square>*+])*+)(]) ?(\\[)(])",
3047
+ "name": "meta.link.reference.literal.markdown"
3048
+ },
3049
+ "link-ref-shortcut": {
3050
+ "captures": {
3051
+ "1": {
3052
+ "name": "punctuation.definition.link.title.begin.markdown"
3053
+ },
3054
+ "2": {
3055
+ "name": "string.other.link.title.markdown"
3056
+ },
3057
+ "3": {
3058
+ "name": "punctuation.definition.link.title.end.markdown"
3059
+ }
3060
+ },
3061
+ "match": "(?<![]\\\\])(\\[)((?:[^]\\[\\\\\\s]|\\\\[]\\[])+?)((?<!\\\\)])",
3062
+ "name": "meta.link.reference.markdown"
3063
+ },
3064
+ "list_paragraph": {
3065
+ "begin": "(^|\\G)(?=\\S)(?![*->]\\s|[0-9]+\\.\\s)",
3066
+ "name": "meta.paragraph.markdown",
3067
+ "patterns": [
3068
+ {
3069
+ "include": "#inline"
3070
+ },
3071
+ {
3072
+ "include": "text.html.derivative"
3073
+ },
3074
+ {
3075
+ "include": "#heading-setext"
3076
+ }
3077
+ ],
3078
+ "while": "(^|\\G)(?!\\s*$|#| {0,3}([-*>_] {2,}){3,}[\\t ]*$\\n?| {0,3}[*->]| {0,3}[0-9]+\\.)"
3079
+ },
3080
+ "lists": {
3081
+ "patterns": [
3082
+ {
3083
+ "begin": "(^|\\G)( {0,3})([-*+])([\\t ])",
3084
+ "beginCaptures": {
3085
+ "3": {
3086
+ "name": "punctuation.definition.list.begin.markdown"
3087
+ }
3088
+ },
3089
+ "name": "markup.list.unnumbered.markdown",
3090
+ "patterns": [
3091
+ {
3092
+ "include": "#block"
3093
+ },
3094
+ {
3095
+ "include": "#list_paragraph"
3096
+ }
3097
+ ],
3098
+ "while": "((^|\\G)( {2,4}|\\t))|^([\\t ]*)$"
3099
+ },
3100
+ {
3101
+ "begin": "(^|\\G)( {0,3})([0-9]+[).])([\\t ])",
3102
+ "beginCaptures": {
3103
+ "3": {
3104
+ "name": "punctuation.definition.list.begin.markdown"
3105
+ }
3106
+ },
3107
+ "name": "markup.list.numbered.markdown",
3108
+ "patterns": [
3109
+ {
3110
+ "include": "#block"
3111
+ },
3112
+ {
3113
+ "include": "#list_paragraph"
3114
+ }
3115
+ ],
3116
+ "while": "((^|\\G)( {2,4}|\\t))|^([\\t ]*)$"
3117
+ }
3118
+ ]
3119
+ },
3120
+ "paragraph": {
3121
+ "begin": "(^|\\G) {0,3}(?=[^\\t\\n ])",
3122
+ "name": "meta.paragraph.markdown",
3123
+ "patterns": [
3124
+ {
3125
+ "include": "#inline"
3126
+ },
3127
+ {
3128
+ "include": "text.html.derivative"
3129
+ },
3130
+ {
3131
+ "include": "#heading-setext"
3132
+ }
3133
+ ],
3134
+ "while": "(^|\\G)((?=\\s*[-=]{3,}\\s*$)| {4,}(?=[^\\t\\n ]))"
3135
+ },
3136
+ "raw": {
3137
+ "captures": {
3138
+ "1": {
3139
+ "name": "punctuation.definition.raw.markdown"
3140
+ },
3141
+ "3": {
3142
+ "name": "punctuation.definition.raw.markdown"
3143
+ }
3144
+ },
3145
+ "match": "(`+)((?:[^`]|(?!(?<!`)\\1(?!`))`)*+)(\\1)",
3146
+ "name": "markup.inline.raw.string.markdown"
3147
+ },
3148
+ "raw_block": {
3149
+ "begin": "(^|\\G)( {4}|\\t)",
3150
+ "name": "markup.raw.block.markdown",
3151
+ "while": "(^|\\G)( {4}|\\t)"
3152
+ },
3153
+ "separator": {
3154
+ "match": "(^|\\G) {0,3}([-*_])( {0,2}\\2){2,}[\\t ]*$\\n?",
3155
+ "name": "meta.separator.markdown"
3156
+ },
3157
+ "strikethrough": {
3158
+ "captures": {
3159
+ "1": {
3160
+ "name": "punctuation.definition.strikethrough.markdown"
3161
+ },
3162
+ "2": {
3163
+ "patterns": [
3164
+ {
3165
+ "applyEndPatternLast": 1,
3166
+ "begin": "(?=<[^>]*?>)",
3167
+ "end": "(?<=>)",
3168
+ "patterns": [
3169
+ {
3170
+ "include": "text.html.derivative"
3171
+ }
3172
+ ]
3173
+ },
3174
+ {
3175
+ "include": "#escape"
3176
+ },
3177
+ {
3178
+ "include": "#ampersand"
3179
+ },
3180
+ {
3181
+ "include": "#bracket"
3182
+ },
3183
+ {
3184
+ "include": "#raw"
3185
+ },
3186
+ {
3187
+ "include": "#bold"
3188
+ },
3189
+ {
3190
+ "include": "#italic"
3191
+ },
3192
+ {
3193
+ "include": "#image-inline"
3194
+ },
3195
+ {
3196
+ "include": "#link-inline"
3197
+ },
3198
+ {
3199
+ "include": "#link-inet"
3200
+ },
3201
+ {
3202
+ "include": "#link-email"
3203
+ },
3204
+ {
3205
+ "include": "#image-ref"
3206
+ },
3207
+ {
3208
+ "include": "#link-ref-literal"
3209
+ },
3210
+ {
3211
+ "include": "#link-ref"
3212
+ },
3213
+ {
3214
+ "include": "#link-ref-shortcut"
3215
+ }
3216
+ ]
3217
+ },
3218
+ "3": {
3219
+ "name": "punctuation.definition.strikethrough.markdown"
3220
+ }
3221
+ },
3222
+ "match": "(?<!\\\\)(~{2,})(?!(?<=\\w~~)_)((?:[^~]|(?!(?<![\\\\~])\\1(?!~))~)*+)(\\1)(?!(?<=_\\1)\\w)",
3223
+ "name": "markup.strikethrough.markdown"
3224
+ },
3225
+ "table": {
3226
+ "begin": "(^|\\G)(\\|)(?=[^|].+\\|\\s*$)",
3227
+ "beginCaptures": {
3228
+ "2": {
3229
+ "name": "punctuation.definition.table.markdown"
3230
+ }
3231
+ },
3232
+ "name": "markup.table.markdown",
3233
+ "patterns": [
3234
+ {
3235
+ "match": "\\|",
3236
+ "name": "punctuation.definition.table.markdown"
3237
+ },
3238
+ {
3239
+ "captures": {
3240
+ "1": {
3241
+ "name": "punctuation.separator.table.markdown"
3242
+ }
3243
+ },
3244
+ "match": "(?<=\\|)\\s*(:?-+:?)\\s*(?=\\|)"
3245
+ },
3246
+ {
3247
+ "captures": {
3248
+ "1": {
3249
+ "patterns": [
3250
+ {
3251
+ "include": "#inline"
3252
+ }
3253
+ ]
3254
+ }
3255
+ },
3256
+ "match": "(?<=\\|)\\s*(?=\\S)((\\\\\\||[^|])+)(?<=\\S)\\s*(?=\\|)"
3257
+ }
3258
+ ],
3259
+ "while": "(^|\\G)(?=\\|)"
3260
+ }
3261
+ },
3262
+ "scopeName": "text.html.markdown"
3263
+ }