tdegrunt / jsonschema

JSON Schema validation
Other
1.83k stars 263 forks source link

docs: fix incorrect formatting in example array schema #371

Open HumbertoL opened 2 years ago

HumbertoL commented 2 years ago

There's a Javascript snippet incorrectly labeled as JSON in the markdown. This causes Github to display it highlighted in red, as if the was a syntax error.

Changing it to JS show the correct formatting. I also removed the extra spaces so that the formatting is consistent with the other examples in the readme:

Before After
Screen Shot 2022-08-23 at 4 43 08 PM Screen Shot 2022-08-23 at 4 43 11 PM