diff --git a/README.md b/README.md index bed44bd..23cc39b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Now, you're ready to use it as a custom HTML tag within your web application: To use **json-viewer** in your web application, load json-viewer.js and embed your JSON object within an HTML element of your choice and initialize **json-viewer** as follows: ```html - +
@@ -98,9 +98,8 @@ You can also provide the `data` option as the content of the "json-viewer" eleme show-copy="true" show-size="true" > - { "string": "this is a test ...", "integer": 42, "array":[ 1, 2, 3, "test", - NaN], "float":3.14159, "string_number":"1234", "date": "Tue, Oct 17, 2023, - 08:58 AM" } + { "string": "this is a test ...", "integer": 42, "array":[ 1, 2, 3, "test", "NaN"], "float":3.14159, + "string_number":"1234", "date": "Tue, Oct 17, 2023, 08:58 AM" } ``` @@ -310,9 +309,8 @@ Example: show-size="true" theme='{"base00": "gray", "base01": "blue", "base02": "yellow", "base03": "orange", "base04": "red", "base05": "#9DA0A2", "base06": "#D2D5D7", "base07": "#F1F2F3", "base08": "#EF5253", "base09": "#E66B2B", "base0A": "#E4B51C", "base0B": "#7CC844", "base0C": "#52CBB0", "base0D": "#33A3DC", "base0E": "#A363D5", "base0F": "gray"}' > - {"string": "this is a test ...", "integer": 42, "array":[ 1, 2, 3, "test", - "NaN"], "float":3.14159, "string_number":"1234", "date": "Tue, Oct 17, 2023, - 08:58 AM"} + {"string": "this is a test ...", "integer": 42, "array":[ 1, 2, 3, "test", "NaN"], "float":3.14159, + "string_number":"1234", "date": "Tue, Oct 17, 2023, 08:58 AM"} ``` diff --git a/package.json b/package.json index 24d8502..db0e38c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@andypf/json-viewer", - "version": "2.1.5", + "version": "2.1.6", "description": "A javascript library to visualize json nicely", "main": "dist/cjs/index.js", "module": "dist/esm/index.js",