Skip to content

Commit

Permalink
fix vscode-graphql-syntax readme (#3062)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina authored Mar 4, 2023
1 parent 9b861e7 commit 132ebdb
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions packages/vscode-graphql-syntax/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ you can use these template tag literal expressions anywhere you like of course
```ts
useFancyGraphQLClient(
graphql`
{
id
}
`,
{
id
}
`, {
networkStrategy: 🚀
}
)
networkStrategy: '🚀',
},
);
```

```ts
Expand Down Expand Up @@ -90,9 +91,10 @@ but we currently only delimit graphql template strings for obvious reasons
#### Comment-Delimited patterns

```ts
/* GraphQL */
const query = `
{ id }
const query = /* GraphQL */ `
{
id
}
`;
```

Expand Down

0 comments on commit 132ebdb

Please sign in to comment.