Skip to content

Can we support syntax highlighting for PHP language? #313

@plmrlnsnts

Description

@plmrlnsnts

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions