Skip to content
New issue

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

No script highlighting for <script type="text/babel"> #218

Open
RSeidelsohn opened this issue Sep 21, 2022 · 1 comment
Open

No script highlighting for <script type="text/babel"> #218

RSeidelsohn opened this issue Sep 21, 2022 · 1 comment

Comments

@RSeidelsohn
Copy link

When in the <script> tag inside the vue file I set the type attribute to "text/babel", I lose JS syntax highlighting completely, which is a bummer. vue-syntax-highlight should simply use the JS highlighting for the script type "text/babel".

deathaxe added a commit to deathaxe/sublime-packages that referenced this issue Feb 2, 2023
This commit adds `text/babel` to the list of supported MIME types to
enable JavaScript highlighting within <script type="text/babel"> tags.

see: vuejs/vue-syntax-highlight#218
deathaxe added a commit to deathaxe/sublime-packages that referenced this issue Feb 2, 2023
This commit adds `text/babel` to the list of supported MIME types to
enable JavaScript highlighting within <script type="text/babel"> tags.

see: vuejs/vue-syntax-highlight#218
deathaxe added a commit to sublimehq/Packages that referenced this issue Feb 3, 2023
This commit adds `text/babel` to the list of supported MIME types to
enable JavaScript highlighting within <script type="text/babel"> tags.

see: vuejs/vue-syntax-highlight#218
@FichteFoll
Copy link

Should have been fixed upstream via sublimehq/Packages#3652.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants