Skip to content

Commit 1618680

Browse files
author
Andrew Konstantinov
committed
Mark code listings as GraphQL
1 parent 55eef18 commit 1618680

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,24 @@ The following screenshot shows the use of templates generation:
8989
Based on InQL's introspection intermediate representation (IIR), the tool is able to generate arbitrarily nested queries with support to
9090
any scalar type, enumerations, arrays, and objects.
9191

92-
```javascript
92+
```graphql
9393
query {
94-
Character(id_not_in:[1334], sort:[ROLE_DESC], search:"code", id_not:1334, id:1334, id_in:[1334]) {
94+
Character(
95+
id_not_in: [1334]
96+
sort: [ROLE_DESC]
97+
search: "code"
98+
id_not: 1334
99+
id: 1334
100+
id_in: [1334]
101+
) {
95102
image {
96103
large
97104
}
98105
siteUrl
99106
favourites
100107
modNotes
101-
description(asHtml:true)
102-
media(sort:[TITLE_ROMAJI], type:ANIME, perPage:1334, page:1334) {
108+
description(asHtml: true)
109+
media(sort: [TITLE_ROMAJI], type: ANIME, perPage: 1334, page: 1334) {
103110
edges {
104111
isMainStudio
105112
}
@@ -145,9 +152,9 @@ query {
145152

146153
will get converted into:
147154

148-
```
155+
```graphql
149156
query {
150-
op1: Character(id: 1) {
157+
op1: Character(id: 1) {
151158
name {
152159
first
153160
last

0 commit comments

Comments
 (0)