From 68f016d886c755acff58782514a79f5203201fa1 Mon Sep 17 00:00:00 2001 From: Aleksei Trifonov Date: Sun, 22 Aug 2021 21:11:16 +0300 Subject: [toml/en] Fix JSON code blocks in TOML (#4204) It will correctly show structured, formatted JSON to give a better understanding --- toml.html.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'toml.html.markdown') diff --git a/toml.html.markdown b/toml.html.markdown index 2b234965..804fefaa 100755 --- a/toml.html.markdown +++ b/toml.html.markdown @@ -225,6 +225,7 @@ sku = 284758393 color = "gray" ``` The equivalent in JSON would be: + ```json { "products": [ @@ -270,9 +271,10 @@ The equivalent in JSON would be: note = "I am an array item in banana fruit's table/map" ``` + The equivalent in JSON would be: -```json +```json { "fruit": [ { -- cgit v1.2.3