Closed zfogg closed 1 year ago
We don't support that library directly, but you should be able to add # gql
(or # graphql
) to the start of your template string to enable GraphQL syntax highlighting.
gql(`# gql
query MyQuery {
myType {
id
}
}
`);
i use https://github.com/dotansimha/graphql-code-generator and it gives me a function to call like
is there some way to get this plugin to syntax highlight a gql function call like this? i would love that