Add tsx syntax highlight support

This commit is contained in:
bkellam 2024-09-18 00:23:54 -07:00
parent 0f4b610c4c
commit 233897d02c

View file

@ -11,6 +11,7 @@ export const useSyntaxHighlightingExtension = (language: string, view: EditorVie
view ?? null,
() => {
switch (language.toLowerCase()) {
case "tsx":
case "typescript":
case "javascript":
return javascript({