Skip to content

Commit

Permalink
feat: block slots
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Jul 5, 2021
1 parent 150cea1 commit 8d3c8c8
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions syntaxes/mdc.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,21 +143,27 @@
"contentName": "meta.embedded.block.component",
"patterns": [
{
"begin": "(^|\\G)(\\s*)(-{3})([\\w]*)$",
"while": "(^|\\G)(?!\\s*([-]{3}|[:]{2,}))",
"beginCaptures": {
"3": {
"name": "punctuation.definition.tag.start"
},
"4": {
"name": "entity.other.attribute-name.html"
}
},
"begin": "(^|\\G)(\\s*)(-{3})(\\s*)$",
"end": "(^|\\G)(\\s*(-{3})(\\s*)$)",
"patterns": [
{
"include": "text.html.markdown"
"include": "source.yaml"
}
]
},
{
"match": "^(\\s*)(#[\\w\\_]*)\\s*(<!--(.*)-->)?$",
"captures": {
"2": {
"name": "punctuation.definition.tag.end.component"
},
"3": {
"name": "comment.block.html"
}
}
},
{
"include": "text.html.markdown"
}
]
},
Expand Down

0 comments on commit 8d3c8c8

Please sign in to comment.