Node syntaxTree to parse template tags

This commit is contained in:
Gregory Schier
2024-08-26 11:30:10 -07:00
parent 124fb35dcd
commit 24a4e3494e
3 changed files with 64 additions and 49 deletions

View File

@@ -68,7 +68,7 @@ const syntaxExtensions: Record<string, LanguageSupport> = {
'application/graphql': graphqlLanguageSupport(),
'application/json': json(),
'application/javascript': javascript(),
'text/html': xml(), // HTML as xml because HTML is oddly slow
'text/html': xml(), // HTML as XML because HTML is oddly slow
'application/xml': xml(),
'text/xml': xml(),
url: url(),