46 lines
1001 B
JSON
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"
|
|
}
|