fuc-new/doc/node_modules/tm-grammars/grammars/markdown-vue.json
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

46 lines
1001 B
JSON

{
"fileTypes": [
],
"injectTo": [
"text.html.markdown"
],
"injectionSelector": "L:text.html.markdown",
"name": "markdown-vue",
"patterns": [
{
"include": "#vue-code-block"
}
],
"repository": {
"vue-code-block": {
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vue)((\\s+|[,:?{])[^`~]*)?$)",
"beginCaptures": {
"3": {
"name": "punctuation.definition.markdown"
},
"4": {
"name": "fenced_code.block.language.markdown"
},
"5": {
"name": "fenced_code.block.language.attributes.markdown",
"patterns": [
]
}
},
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
"endCaptures": {
"3": {
"name": "punctuation.definition.markdown"
}
},
"name": "markup.fenced_code.block.markdown",
"patterns": [
{
"include": "source.vue"
}
]
}
},
"scopeName": "markdown.vue.codeblock"
}