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.
 
 

38 lines
756 B

{
"key": "special-attribute-elements",
"patterns": [
{
"name": "id.special.attribute.meta.md",
"match": "(?<=^|\\s)(#)([^\\s|\\}]*)",
"captures": {
"1": {
"name": "punctuation.md"
}
}
},
{
"name": "class.special.attribute.meta.md",
"match": "(\\.)([^\\s|\\}]*)",
"captures": {
"1": {
"name": "punctuation.md"
}
}
},
{
"match": "([^ ]+)(=)([^\\s|\\}]*)",
"name": "other.special.attribute.meta.md",
"captures": {
"1": {
"name": "key.keyword.md"
},
"2": {
"name": "punctuation.md"
},
"3": {
"name": "value.string.md"
}
}
}
]
}