diff --git a/README.md b/README.md index 8c2fbfe..7632248 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,7 @@ Note that in order for a language to be highlighted properly, you must have the * `swift` * `swig` * `liquid` +* `vue` * `xml` * `yaml` * `yaml front matter` diff --git a/Syntaxes/Markdown Extended.JSON-tmLanguage b/Syntaxes/Markdown Extended.JSON-tmLanguage index c7f2e67..39c196c 100644 --- a/Syntaxes/Markdown Extended.JSON-tmLanguage +++ b/Syntaxes/Markdown Extended.JSON-tmLanguage @@ -929,7 +929,7 @@ { "name": "markup.raw.block.markdown markup.raw.block.fenced.markdown", "end": "(```|~~~|{%\\s*endhighlight\\s*%})\\n", - "begin": "(```|~~~|{%\\s*highlight)\\s*(hbs|handlebars|html|html5)\\s*((?:linenos\\s*)?%})?$", + "begin": "(```|~~~|{%\\s*highlight)\\s*(hbs|handlebars|html|html5|vue)\\s*((?:linenos\\s*)?%})?$", "patterns": [ { "include": "text.html.basic" diff --git a/Syntaxes/Markdown Extended.YAML-tmLanguage b/Syntaxes/Markdown Extended.YAML-tmLanguage index 0b0ea94..acefaef 100644 --- a/Syntaxes/Markdown Extended.YAML-tmLanguage +++ b/Syntaxes/Markdown Extended.YAML-tmLanguage @@ -148,7 +148,7 @@ patterns: - include: source.graphql - name: markup.raw.block.markdown markup.raw.block.fenced.markdown - begin: (```|~~~|{%\s*highlight)\s*(hbs|handlebars|html|html5)\s*((?:linenos\s*)?%})?$ + begin: (```|~~~|{%\s*highlight)\s*(hbs|handlebars|html|html5|vue)\s*((?:linenos\s*)?%})?$ end: (```|~~~|{%\s*endhighlight\s*%})\n captures: '1': {name: punctuation.definition.fenced.markdown} diff --git a/Syntaxes/Markdown Extended.sublime-syntax b/Syntaxes/Markdown Extended.sublime-syntax index 2f2f8f4..d909726 100644 --- a/Syntaxes/Markdown Extended.sublime-syntax +++ b/Syntaxes/Markdown Extended.sublime-syntax @@ -233,7 +233,7 @@ contexts: 3: punctuation.definition.fenced.markdown pop: true - include: scope:source.graphql - - match: '(```|~~~|{%\s*highlight)\s*(hbs|handlebars|html|html5)\s*((?:linenos\s*)?%})?$' + - match: '(```|~~~|{%\s*highlight)\s*(hbs|handlebars|html|html5|vue)\s*((?:linenos\s*)?%})?$' captures: 1: punctuation.definition.fenced.markdown 2: variable.language.fenced.markdown diff --git a/Syntaxes/Markdown Extended.tmLanguage b/Syntaxes/Markdown Extended.tmLanguage index d72b1c1..54b1c88 100644 --- a/Syntaxes/Markdown Extended.tmLanguage +++ b/Syntaxes/Markdown Extended.tmLanguage @@ -481,7 +481,7 @@ begin - (```|~~~|{%\s*highlight)\s*(hbs|handlebars|html|html5)\s*((?:linenos\s*)?%})?$ + (```|~~~|{%\s*highlight)\s*(hbs|handlebars|html|html5|vue)\s*((?:linenos\s*)?%})?$ captures 1