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

[HTML] Add support for text/babel MIME-type #3652

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

deathaxe
Copy link
Collaborator

@deathaxe deathaxe commented 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

Other templating syntaxes may be effected as well, so fixing it in default HTML might help all of them.

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 deathaxe marked this pull request as ready for review February 2, 2023 19:17
@deathaxe deathaxe merged commit bcff768 into sublimehq:master Feb 3, 2023
@deathaxe deathaxe deleted the pr/html/add-babel-support branch February 3, 2023 15:57
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

Successfully merging this pull request may close these issues.

3 participants