From 9bb279da3a4557ab591b98fbddf7f71137945d96 Mon Sep 17 00:00:00 2001 From: mh-cbon Date: Sat, 5 Mar 2022 23:43:02 +0100 Subject: [PATCH] Update README.md pretty print --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 34184d5..8663244 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ jsonc -m < somefile.jsonc ## Syntax Here is a first attempt to formalize the jsonc syntax in [ebnf](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). -``` +```ebnf document = type; type = object | array | basicType; @@ -71,7 +71,7 @@ number = "a number as defined by json dot org"; ### Examples -``` +```javascript // A jsonc example document { owner:{ @@ -107,7 +107,7 @@ number = "a number as defined by json dot org"; ``` -``` +```javascript { // Another example glossEntry:{ @@ -122,7 +122,7 @@ number = "a number as defined by json dot org"; }}} ``` -``` +```javascript { // Another example popup:{