You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the TextArea syntax highlighting works based on a single defined language, but often code can contain multiple different languages. The obvious example is HTML which can contain JavaScript inside of <script> tags and CSS inside of <style> tags. But also TypeScript syntax highlighting should include the JavaScript as well as the added types.
The text was updated successfully, but these errors were encountered:
I think this is probably beyond the scope of what we'd want to offer out of the box, but we should definitely think about how it could be achieved by someone who wishes to add that functionality.
Thanks Darren, I do appreciate this might be out of scope especially if it would require a lot of work!
I haven't looked into this in much depth yet, but there's also the feature of language injection which might be useful? I'm not sure if this would still require set_included_ranges though...
Currently the
TextArea
syntax highlighting works based on a single definedlanguage
, but often code can contain multiple different languages. The obvious example is HTML which can contain JavaScript inside of <script> tags and CSS inside of <style> tags. But also TypeScript syntax highlighting should include the JavaScript as well as the added types.The text was updated successfully, but these errors were encountered: