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

Can we support syntax highlighting for PHP language? #313

Open
plmrlnsnts opened this issue Oct 17, 2022 · 1 comment
Open

Can we support syntax highlighting for PHP language? #313

plmrlnsnts opened this issue Oct 17, 2022 · 1 comment

Comments

@plmrlnsnts
Copy link

plmrlnsnts commented Oct 17, 2022

In PHP, it is possible to embed a string literal using heredoc.

$query = <<< 'GQL'
query {
  foo {
     bar
  }
}
GQL;

The apostrophe can also be omitted.

$query = <<< GQL
query {
  foo {
     bar
  }
}
GQL;

How can we support syntax highlighting using this format?

@kumarharsh
Copy link
Owner

If you can create a PR, I would be happy to accept

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

No branches or pull requests

2 participants