You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.3 KiB
58 lines
1.3 KiB
{
|
|
"key": "github-blocks",
|
|
"patterns": [
|
|
{
|
|
"name": "table.storage.md",
|
|
"match": "^(\\|(?= |:|-)[ |:-]*?)(\\|?)$",
|
|
"captures": {
|
|
"1": {
|
|
"patterns": [
|
|
{
|
|
"match": "(\\|)(?: ?)(:?)(-+)(:?)(?: ?)(?=\\|| |$)",
|
|
"captures": {
|
|
"1": {
|
|
"name": "vertical.punctuation.md"
|
|
},
|
|
"2": {
|
|
"name": "alignment.punctuation.md"
|
|
},
|
|
"3": {
|
|
"name": "horizontal.punctuation.md"
|
|
},
|
|
"4": {
|
|
"name": "alignment.punctuation.md"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"2": {
|
|
"name": "vertical.punctuation.md"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "table.storage.md",
|
|
"match": "^(\\|)(?= )(.+)$",
|
|
"captures": {
|
|
"1": {
|
|
"name": "vertical.punctuation.md"
|
|
},
|
|
"2": {
|
|
"patterns": [
|
|
{
|
|
"match": "(?<= )\\|(?=$| )",
|
|
"name": "vertical.punctuation.md"
|
|
},
|
|
{
|
|
"include": "#inlines-in-blocks"
|
|
}
|
|
]
|
|
},
|
|
"3": {
|
|
"name": "punctuation.md"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|