graphql-schema-diff icon indicating copy to clipboard operation
graphql-schema-diff copied to clipboard

Syntax highlighting in html view

Open mariusc23 opened this issue 3 years ago • 1 comments

Hi again! It would be great if syntax highlighting could be added to the html view. Perhaps matching graphiql coloring. Some ideas:

  • descriptions could be gray
  • properties blue
  • values orange

mariusc23 avatar Jan 22 '22 00:01 mariusc23

Just saw that there is a PR which adds GraphQL syntax highlighting to highlight.js (https://github.com/highlightjs/highlight.js/pull/3448). After that PR is merged and released I can update graphql-schema-diff to enable GraphQL syntax highlighting.

fabsrc avatar Jan 24 '22 16:01 fabsrc