From e30864d865c8cefb17a7c28d3da1d16fdafeab6b Mon Sep 17 00:00:00 2001 From: belkka Date: Tue, 12 Oct 2021 22:11:45 +0300 Subject: [PATCH] Enable syntax highlight for graphql queries --- docs/queries.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/queries.rst b/docs/queries.rst index 3645c7b..8b85d45 100644 --- a/docs/queries.rst +++ b/docs/queries.rst @@ -151,7 +151,7 @@ For example the following ``Model`` and ``DjangoObjectType``: Results in the following GraphQL schema definition: -.. code:: +.. code:: graphql type Pet { id: ID! @@ -178,7 +178,7 @@ You can disable this automatic conversion by setting fields = ("id", "kind",) convert_choices_to_enum = False -.. code:: +.. code:: graphql type Pet { id: ID!