An extension to add highlight support for the vue syntax in the tagged template string with specific tags. Supported tag are vue
, template
and component
.
For example, the string below should be highlighted:
const vue = String.raw
const template = vue`
<ContextMenu v-if="show">
<button class="btn-primary btn-sm" @click="onClick">context menu</button>
</ContextMenu>
`
Note that this extension is not resposible for the highlighting, you should use another extension that support vue syntax highlight, such as Volar, to make the highlight actually work.