Open bilogic opened 1 week ago
https://github.com/shufo/vscode-blade-formatter/issues/884
style-css.blade.php
style.css
script-js.blade.php
script.js
The problem is, these files cannot have <style> nor <script> and as a result, this highlighter does not know how to handle them.
<style>
<script>
Have flags {{-- js-formatter-enable --}} and {{-- js-formatter-disable --}} that highlighter everything in between as JS Do the same for CSS
{{-- js-formatter-enable --}}
{{-- js-formatter-disable --}}
https://github.com/shufo/vscode-blade-formatter/issues/884
Description
style-css.blade.php
, which renders as astyle.css
script-js.blade.php
, which renders intoscript.js
The problem is, these files cannot have
<style>
nor<script>
and as a result, this highlighter does not know how to handle them.Suggested Solution
Have flags
{{-- js-formatter-enable --}}
and{{-- js-formatter-disable --}}
that highlighter everything in between as JS Do the same for CSS