16

I went to post a question on Stack Overflow and provided a code block of GraphQL code. I tried doing something like:

```gql ... ```

and

```graphql ... ```

to get some syntax highlighting and didn't get anything. Is it possible to add this to the WYSIWYG editor?

2

1 Answer 1

8

GraphQL isn't on the list of supported languages.

The project couldn't find a maintainer, so support was dropped:

" joshgoebel commented on Feb 17
Closing this issue for lack of activity. Any one who'd like to take what's here and step up and contribute a 3rd party language grammar, that would be awesome. :-)"

Stack Exchange won't add it until the project adds support for it.

3
  • 2
    Sounds like I have a possible hobby on my hands haha. Dec 30, 2020 at 5:03
  • 1
    @triplethreat78, with over 13 thousand uses of the tag on Stack Overflow you could ask on their meta (which has no prior questions raised) if someone is interested in becoming a maintainer at GitHub; then once it's supported upstream you can ask here for a status-review and with all the plumbing in place it should Just Work™.
    – Rob
    Dec 30, 2020 at 8:20
  • I don't think SE currently wishes to use 3rd party grammars though, so that is a bummer. meta.stackoverflow.com/questions/402607/… Feb 15, 2021 at 17:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .