Skip to content

Commit 10be2d3

Browse files
committed
docs: tweak formatting
1 parent 6ecc3e3 commit 10be2d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,19 @@ You would use custom scalars when you want to describe more meaningful behavior
2424

2525
To use this library put the following into your gradle config
2626

27+
```java
2728
implementation 'com.graphql-java:graphql-java-extended-scalars:20.0'
29+
```
2830

2931
or the following into your Maven config
3032

33+
```xml
3134
<dependency>
3235
<groupId>com.graphql-java</groupId>
3336
<artifactId>graphql-java-extended-scalars</artifactId>
3437
<version>20.0</version>
3538
</dependency>
39+
```
3640

3741
> Note:
3842
>
@@ -67,6 +71,7 @@ And use the scalar in your schema
6771
```graphql
6872
scalar DateTime
6973
@specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html")
74+
7075
type Something {
7176
someDateTime: DateTime
7277
}

0 commit comments

Comments
 (0)