TextMate-style syntax highlighting in PHP
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.
 
 

155 lines
3.2 KiB

{
"key": "lists",
"patterns": [
{
"match": "^(?:\\s*)([-+\\*] \\[ \\]\\s?)$",
"name": "empty.task.unordered.list.markup.md",
"captures": {
"1": {
"name": "punctuation.md"
}
}
},
{
"match": "^(?:\\s*)([0-9]{1,9}[\\.\\)] \\[ \\]\\s)$",
"name": "empty.task.ordered.list.markup.md",
"captures": {
"1": {
"name": "punctuation.md"
}
}
},
{
"match": "^(?:\\s*)([-+\\*]{1}\\s?)$",
"name": "empty.unordered.list.markup.md",
"captures": {
"1": {
"name": "punctuation.md"
}
}
},
{
"match": "^(?:\\s*)([0-9]{1,9}[\\.\\)]\\s?)$",
"name": "empty.ordered.list.markup.md",
"captures": {
"1": {
"name": "punctuation.md"
}
}
},
{
"match": "^(?:\\s*)([-+\\*] \\[ \\]\\s)(.*)$",
"name": "task.unordered.list.markup.md",
"captures": {
"1": {
"name": "punctuation.md"
},
"2": {
"patterns": [
{
"include": "#blocks"
},
{
"include": "#inlines-in-blocks"
}
]
}
}
},
{
"match": "^(?:\\s*)([0-9]{1,9}[\\.\\)] \\[ \\]\\s)(.*)$",
"name": "task.ordered.list.markup.md",
"captures": {
"1": {
"name": "punctuation.md"
},
"2": {
"patterns": [
{
"include": "#blocks"
},
{
"include": "#inlines-in-blocks"
}
]
}
}
},
{
"match": "^(?:\\s*)([-+\\*] \\[[xX]\\]\\s)(.*)$",
"name": "completed.task.unordered.list.markup.md",
"captures": {
"1": {
"name": "punctuation.md"
},
"2": {
"patterns": [
{
"include": "#blocks"
},
{
"include": "#inlines-in-blocks"
}
]
}
}
},
{
"match": "^(?:\\s*)([0-9]{1,9}[\\.\\)] \\[[xX]\\]\\s)(.*)$",
"name": "completed.task.ordered.list.markup.md",
"captures": {
"1": {
"name": "punctuation.md"
},
"2": {
"patterns": [
{
"include": "#blocks"
},
{
"include": "#inlines-in-blocks"
}
]
}
}
},
{
"match": "^(?:\\s*)([-+\\*]{1}\\s)(.*)$",
"name": "unordered.list.markup.md",
"captures": {
"1": {
"name": "punctuation.md"
},
"2": {
"patterns": [
{
"include": "#blocks"
},
{
"include": "#inlines-in-blocks"
}
]
}
}
},
{
"match": "^(?:\\s*)([0-9]{1,9}[\\.\\)]\\s)(.*)$",
"name": "ordered.list.markup.md",
"captures": {
"1": {
"name": "punctuation.md"
},
"2": {
"patterns": [
{
"include": "#blocks"
},
{
"include": "#inlines-in-blocks"
}
]
}
}
}
]
}