Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[graphiql] Incorrect block string highlighting #3823

Open
1 task done
mjy9088 opened this issue Dec 13, 2024 · 0 comments
Open
1 task done

[graphiql] Incorrect block string highlighting #3823

mjy9088 opened this issue Dec 13, 2024 · 0 comments

Comments

@mjy9088
Copy link

mjy9088 commented Dec 13, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

image

Syntax highlighting is broken

Expected Behavior

Syntax highliighting should be fine

Steps To Reproduce

  1. go to graphiql live demo
    • ... or, open vscode/graphiql/... etc.
  2. paste query below
# This is syntactically valid query
query {
  person(id: """This \"""
is escaped triple dquotes""") {
    __typename
  }
}

Environment

(I couldn't find the environment info of the graphiql live demo

Anything else?

I've tried fix vscode syntax highlighting by editing corresponding(maybe?) source code on ~/.vscode/extensions/graphql.vscode-graphql-syntax-1.3.8/grammars/graphql.json, but failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant