Clarkkkk / vscode-vue-template-string-highlight

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vite VS Code Extension Template

The MIT License

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.

About

License:MIT License


Languages

Language:TypeScript 100.0%