Open Whoaa512 opened 6 years ago
Given that you support inline css for Styled-Components, could you add support for highlighting GraphQL in .gql/.graphql files and inline in JS?
Example files:
https://gist.github.com/Whoaa512/7143d918aba16d9b201778897db18681
I realize the type def example I gave might not be possible since it's just a normal template literal.
I think it's possible to identify graph ql template strings from the tag "gql" like I do for styled components, I'll add it as soon as I finish the build system.
any updates on this?
Given that you support inline css for Styled-Components, could you add support for highlighting GraphQL in .gql/.graphql files and inline in JS?
Example files:
https://gist.github.com/Whoaa512/7143d918aba16d9b201778897db18681
I realize the type def example I gave might not be possible since it's just a normal template literal.