012345678910111213141516171819202122232425262728
|
{
"scopeName": "markdown.ebnf.codeblock",
"fileTypes": [],
"injectionSelector": "L:markup.fenced_code.block.markdown",
"patterns": [
{
"include": "#ebnf-code-block"
}
],
"repository": {
"ebnf-code-block": {
"begin": "(?<=[`~])ebnf(\\s+[^`~]*)?$",
"end": "(^|\\G)(?=\\s*[`~]{3,}\\s*$)",
"patterns": [
{
"begin": "(^|\\G)(\\s*)(.*)",
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
"contentName": "meta.embedded.block.ebnf",
"patterns": [
{
"include": "text.ebnf"
}
]
}
]
}
}
}
|