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
That's interesting. Thanks for the quick reply! Re-reading my issue, however, I think I mis-phrased my question and meant that the syntax highlighting isn't quite the same. Is there a way I can make it automatically change based on the language?
By default, prettier support web based languages (js, html, css...)
So, the syntax highlighting does (should) detect the language to apply the style. Except it does not support all the languages. I need to check how carbon's website does it
I think there is an issue with the automatic language detection, as the code highlighting doesn't appear to match the language being used.
For example, if I put this code directly into Carbon (with language="auto"), I get the following output:
However, if I put the exact same code into an issue it doesn't get formatted in the same way (using all default settings):
View raw code
The text was updated successfully, but these errors were encountered: