Skip to content

Commit 544b926

Browse files
Adds json syntax highlighting to readme
1 parent bd2d8af commit 544b926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ JSON schema types are described in the `lib/types` folder.
3535
## Example
3636

3737
If we supply `js2e` with the following JSON schema file, `definitions.json`:
38-
``` json
38+
``` javascript
3939
{
4040
"$schema": "http://json-schema.org/draft-04/schema#",
4141
"title": "Definitions",
@@ -177,7 +177,7 @@ their corresponding JSON decoders and encoders.
177177
Furthermore, if we instead supply `js2e` with a directory of JSON schema files
178178
that have references across files, e.g.
179179

180-
``` json
180+
``` javascript
181181
{
182182
"$schema": "http://json-schema.org/draft-04/schema#",
183183
"title": "Circle",

0 commit comments

Comments
 (0)