We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My *.vue files contains three parts:
Script and style sections are properly colorized. The template section is not.
Is it possible to add proper colorization (highlight) to code written in haml ?
The text was updated successfully, but these errors were encountered:
It looks like we cannot support arbitrary language highlighting in vue file. Even custom blocks have only predefined language support.
https://github.com/vuejs/vetur/blob/master/package.json#L91
@octref any idea to break the limit?
Sorry, something went wrong.
Maybe consider splitting the code into multiple files like this:
// ./hello.vue.js // ./hello.vue.html // ./hello.vue.css import template from "./hello.vue.html"; export default { name: "Hello", render: template, };
We can add haml in the embeddedLanguages in package.json. If users install haml extension it'll become available.
embeddedLanguages
6b0a66d
No branches or pull requests
My *.vue files contains three parts:
Script and style sections are properly colorized.
The template section is not.
Is it possible to add proper colorization (highlight) to code written in haml ?
The text was updated successfully, but these errors were encountered: