Closed Kristinita closed 7 years ago
It would be nice, if in JavaScript (Babel) syntax will be added support syntax highlighting for Babel in tag <script></script> for HTML.
JavaScript (Babel)
<script></script>
In separate file.
In HTML.
In open HTML file I have script:
<script type="text/babel"> let arr = ["hello", 2]; // let let [str, times] = arr; // alert( str.repeat(times) ); </script>
Script not highlight for me. I get scope for each place of this script: source.js meta.jsx.js I get each time.
source.js meta.jsx.js
Sublime Text: Build 3126 Syntax: JavaScript (Babel) into Babel plugin Color scheme: Monokai Phoenix into Babel plugin
Thanks.
Sorry, wrong repository.
Summary
It would be nice, if in
JavaScript (Babel)
syntax will be added support syntax highlighting for Babel in tag<script></script>
for HTML.Expected behavior
In separate file.
Actual behavior
In HTML.
Steps to reproduce
In open HTML file I have script:
Script not highlight for me. I get scope for each place of this script:
source.js meta.jsx.js
I get each time.Environment
Sublime Text: Build 3126 Syntax: JavaScript (Babel) into Babel plugin Color scheme: Monokai Phoenix into Babel plugin
Thanks.