tm-grammars 1.24.6 → 1.24.7
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.
- package/README.md +1 -1
- package/grammars/markdown.json +180 -0
- package/index.js +9 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -135,7 +135,7 @@ import { grammars } from 'tm-grammars'
|
|
|
135
135
|
| `lua` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/5c213a1e84928c7a7d11ca5b282ca602d40c1352/extensions/lua/syntaxes/lua.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `c` | 14.17 kB |
|
|
136
136
|
| `luau` | | [JohnnyMorganz/Luau.tmLanguage](https://github.com/JohnnyMorganz/Luau.tmLanguage/blob/050f326bc904342c9344b6e1ece96b9143b57086/Luau.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/JohnnyMorganz/Luau.tmLanguage/main/LICENSE.md) | | | 11.89 kB |
|
|
137
137
|
| `make` | `makefile` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/91db8ea85fee30ebb3c7a5e7939aa2a8d79811c5/extensions/make/syntaxes/make.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 8.41 kB |
|
|
138
|
-
| `markdown` | `md` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
138
|
+
| `markdown` | `md` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6d8ab9737d58fc5eaf07e2ae6553b38183a5de47/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `css` `html` `ini` `java` `lua` `make` `perl` `r` `ruby` `php` `sql` `vb` `xml` `xsl` `yaml` `bat` `clojure` `coffee` `c` `cpp` `diff` `docker` `git-commit` `git-rebase` `go` `groovy` `pug` `javascript` `json` `jsonc` `jsonl` `less` `objective-c` `swift` `scss` `raku` `powershell` `python` `julia` `regexp` `rust` `scala` `shellscript` `typescript` `tsx` `csharp` `fsharp` `dart` `handlebars` `log` `erlang` `elixir` `latex` `bibtex` `abap` `rst` `html-derivative` | 55.03 kB |
|
|
139
139
|
| `marko` | | [marko-js/language-server](https://github.com/marko-js/language-server/blob/41346af504380f2b0ccf60939eef42b5b99fdf58/packages/vscode/syntaxes/marko.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/marko-js/language-server/main/LICENSE) | | `css` `less` `scss` `typescript` | 23.94 kB |
|
|
140
140
|
| `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | | 14.92 kB |
|
|
141
141
|
| `mdc` | | [nuxtlabs/vscode-mdc](https://github.com/nuxtlabs/vscode-mdc/blob/96f619ccd8df724e5bd94eb28b87e03b769a8c41/syntaxes/mdc.standalone.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE) | | `markdown` `yaml` `html-derivative` | 18.66 kB |
|
package/grammars/markdown.json
CHANGED
|
@@ -221,6 +221,9 @@
|
|
|
221
221
|
{
|
|
222
222
|
"include": "#fenced_code_block_pug"
|
|
223
223
|
},
|
|
224
|
+
{
|
|
225
|
+
"include": "#fenced_code_block_ignore"
|
|
226
|
+
},
|
|
224
227
|
{
|
|
225
228
|
"include": "#fenced_code_block_js"
|
|
226
229
|
},
|
|
@@ -233,6 +236,9 @@
|
|
|
233
236
|
{
|
|
234
237
|
"include": "#fenced_code_block_jsonc"
|
|
235
238
|
},
|
|
239
|
+
{
|
|
240
|
+
"include": "#fenced_code_block_jsonl"
|
|
241
|
+
},
|
|
236
242
|
{
|
|
237
243
|
"include": "#fenced_code_block_less"
|
|
238
244
|
},
|
|
@@ -308,11 +314,53 @@
|
|
|
308
314
|
{
|
|
309
315
|
"include": "#fenced_code_block_twig"
|
|
310
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
|
+
},
|
|
311
326
|
{
|
|
312
327
|
"include": "#fenced_code_block_unknown"
|
|
313
328
|
}
|
|
314
329
|
]
|
|
315
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
|
+
},
|
|
316
364
|
"fenced_code_block_basic": {
|
|
317
365
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(html?|shtml|xhtml|inc|tmpl|tpl)((\\s+|[,:?{])[^`]*)?$)",
|
|
318
366
|
"beginCaptures": {
|
|
@@ -973,6 +1021,39 @@
|
|
|
973
1021
|
}
|
|
974
1022
|
]
|
|
975
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
|
+
},
|
|
976
1057
|
"fenced_code_block_ini": {
|
|
977
1058
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ini|conf)((\\s+|[,:?{])[^`]*)?$)",
|
|
978
1059
|
"beginCaptures": {
|
|
@@ -1171,6 +1252,39 @@
|
|
|
1171
1252
|
}
|
|
1172
1253
|
]
|
|
1173
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
|
+
},
|
|
1174
1288
|
"fenced_code_block_julia": {
|
|
1175
1289
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(julia|\\{\\.julia.+?})((\\s+|[,:?{])[^`]*)?$)",
|
|
1176
1290
|
"beginCaptures": {
|
|
@@ -1702,6 +1816,39 @@
|
|
|
1702
1816
|
}
|
|
1703
1817
|
]
|
|
1704
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
|
+
},
|
|
1705
1852
|
"fenced_code_block_ruby": {
|
|
1706
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+|[,:?{])[^`]*)?$)",
|
|
1707
1854
|
"beginCaptures": {
|
|
@@ -2182,6 +2329,39 @@
|
|
|
2182
2329
|
}
|
|
2183
2330
|
]
|
|
2184
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
|
+
},
|
|
2185
2365
|
"frontMatter": {
|
|
2186
2366
|
"applyEndPatternLast": 1,
|
|
2187
2367
|
"begin": "\\A(?=(-{3,}))",
|
package/index.js
CHANGED
|
@@ -2372,7 +2372,7 @@ export const grammars = [
|
|
|
2372
2372
|
aliases: [
|
|
2373
2373
|
'md',
|
|
2374
2374
|
],
|
|
2375
|
-
byteSize:
|
|
2375
|
+
byteSize: 56350,
|
|
2376
2376
|
categories: [
|
|
2377
2377
|
'web',
|
|
2378
2378
|
'markup',
|
|
@@ -2409,6 +2409,7 @@ export const grammars = [
|
|
|
2409
2409
|
'javascript',
|
|
2410
2410
|
'json',
|
|
2411
2411
|
'jsonc',
|
|
2412
|
+
'jsonl',
|
|
2412
2413
|
'less',
|
|
2413
2414
|
'objective-c',
|
|
2414
2415
|
'swift',
|
|
@@ -2432,19 +2433,21 @@ export const grammars = [
|
|
|
2432
2433
|
'elixir',
|
|
2433
2434
|
'latex',
|
|
2434
2435
|
'bibtex',
|
|
2436
|
+
'abap',
|
|
2437
|
+
'rst',
|
|
2435
2438
|
'html-derivative',
|
|
2436
2439
|
],
|
|
2437
2440
|
funding: [
|
|
2438
2441
|
],
|
|
2439
|
-
hash: '
|
|
2440
|
-
lastUpdate: '2025-
|
|
2442
|
+
hash: 'bMLXuFJTIr_lfvf0XIfiZFdiEW5eQ5XDwPuICpy0rUs',
|
|
2443
|
+
lastUpdate: '2025-08-27T23:52:40Z',
|
|
2441
2444
|
license: 'MIT',
|
|
2442
2445
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
2443
2446
|
name: 'markdown',
|
|
2444
2447
|
scopeName: 'text.html.markdown',
|
|
2445
|
-
sha: '
|
|
2446
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
2447
|
-
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json?ref=
|
|
2448
|
+
sha: '6d8ab9737d58fc5eaf07e2ae6553b38183a5de47',
|
|
2449
|
+
source: 'https://github.com/microsoft/vscode/blob/6d8ab9737d58fc5eaf07e2ae6553b38183a5de47/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json',
|
|
2450
|
+
sourceApi: 'https://api.github.com/repos/microsoft/vscode/contents/extensions/markdown-basics/syntaxes/markdown.tmLanguage.json?ref=6d8ab9737d58fc5eaf07e2ae6553b38183a5de47',
|
|
2448
2451
|
},
|
|
2449
2452
|
{
|
|
2450
2453
|
byteSize: 24517,
|