summaryrefslogtreecommitdiffhomepage
path: root/toml.html.markdown
diff options
context:
space:
mode:
authorAleksei Trifonov <avrong@avrong.me>2021-08-22 21:11:16 +0300
committerGitHub <noreply@github.com>2021-08-22 20:11:16 +0200
commit68f016d886c755acff58782514a79f5203201fa1 (patch)
treef9f9be025434546e00dc221ce739c0fb9ebb52e2 /toml.html.markdown
parent848a80d87fb377db15cc733a4161c4922755afeb (diff)
[toml/en] Fix JSON code blocks in TOML (#4204)
It will correctly show structured, formatted JSON to give a better understanding
Diffstat (limited to 'toml.html.markdown')
-rwxr-xr-xtoml.html.markdown4
1 files changed, 3 insertions, 1 deletions
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": [
{