llvm-project

Форк
0
/
markdown-grammar.json 
117 строк · 2.5 Кб
1
{
2
	"fileTypes": [],
3
	"injectionSelector": "L:text.html.markdown",
4
	"patterns": [
5
		{
6
			"include": "#mlir-code-block"
7
		},
8
		{
9
			"include": "#pdll-code-block"
10
		},
11
		{
12
			"include": "#tablegen-code-block"
13
		}
14
	],
15
	"repository": {
16
		"mlir-code-block": {
17
			"begin": "(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(mlir)(\\s+[^`~]*)?$)",
18
			"name": "markup.fenced_code.block.markdown",
19
			"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
20
			"beginCaptures": {
21
				"3": {
22
					"name": "punctuation.definition.markdown"
23
				},
24
				"4": {
25
					"name": "fenced_code.block.language.markdown"
26
				},
27
				"5": {
28
					"name": "fenced_code.block.language.attributes.markdown"
29
				}
30
			},
31
			"endCaptures": {
32
				"3": {
33
					"name": "punctuation.definition.markdown"
34
				}
35
			},
36
			"patterns": [
37
				{
38
					"begin": "(^|\\G)(\\s*)(.*)",
39
					"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
40
					"contentName": "meta.embedded.block.mlir",
41
					"patterns": [
42
						{
43
							"include": "source.mlir"
44
						}
45
					]
46
				}
47
			]
48
		},
49
		"pdll-code-block": {
50
			"begin": "(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(pdll)(\\s+[^`~]*)?$)",
51
			"name": "markup.fenced_code.block.markdown",
52
			"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
53
			"beginCaptures": {
54
				"3": {
55
					"name": "punctuation.definition.markdown"
56
				},
57
				"4": {
58
					"name": "fenced_code.block.language.markdown"
59
				},
60
				"5": {
61
					"name": "fenced_code.block.language.attributes.markdown"
62
				}
63
			},
64
			"endCaptures": {
65
				"3": {
66
					"name": "punctuation.definition.markdown"
67
				}
68
			},
69
			"patterns": [
70
				{
71
					"begin": "(^|\\G)(\\s*)(.*)",
72
					"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
73
					"contentName": "meta.embedded.block.pdll",
74
					"patterns": [
75
						{
76
							"include": "source.pdll"
77
						}
78
					]
79
				}
80
			]
81
		},
82
		"tablegen-code-block": {
83
			"begin": "(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(tablegen)(\\s+[^`~]*)?$)",
84
			"name": "markup.fenced_code.block.markdown",
85
			"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
86
			"beginCaptures": {
87
				"3": {
88
					"name": "punctuation.definition.markdown"
89
				},
90
				"4": {
91
					"name": "fenced_code.block.language.markdown"
92
				},
93
				"5": {
94
					"name": "fenced_code.block.language.attributes.markdown"
95
				}
96
			},
97
			"endCaptures": {
98
				"3": {
99
					"name": "punctuation.definition.markdown"
100
				}
101
			},
102
			"patterns": [
103
				{
104
					"begin": "(^|\\G)(\\s*)(.*)",
105
					"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
106
					"contentName": "meta.embedded.block.tablegen",
107
					"patterns": [
108
						{
109
							"include": "source.tablegen"
110
						}
111
					]
112
				}
113
			]
114
		}
115
	},
116
	"scopeName": "markdown.mlir.codeblock"
117
}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.