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
Non traditional types like tsx default to the application/octect-stream mime-type. During a fetch (initial load) tsx will have a mime-type of application/octect-stream and will not have syntax highlights as a consequence.
Currently, we use mime-types to infer syntax highlighting. However, servers are less than consistent with mime-types.
It is possible to avoid mime-types entirely and instead highlight by file-type.
The text was updated successfully, but these errors were encountered:
Non traditional types like
tsx
default to theapplication/octect-stream
mime-type. During a fetch (initial load)tsx
will have a mime-type ofapplication/octect-stream
and will not have syntax highlights as a consequence.Currently, we use
mime-types
to infer syntax highlighting. However, servers are less than consistent withmime-types
.It is possible to avoid
mime-types
entirely and instead highlight byfile-type
.The text was updated successfully, but these errors were encountered: