1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-01-17 13:38:38 +01:00

[toml/en] Fix JSON code blocks in TOML (#4204)

It will correctly show structured, formatted JSON to give a better understanding
This commit is contained in:
Aleksei Trifonov 2021-08-22 21:11:16 +03:00 committed by GitHub
parent 848a80d87f
commit 68f016d886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,6 +225,7 @@ sku = 284758393
color = "gray" color = "gray"
``` ```
The equivalent in JSON would be: The equivalent in JSON would be:
```json ```json
{ {
"products": [ "products": [
@ -270,9 +271,10 @@ The equivalent in JSON would be:
note = "I am an array item in banana fruit's table/map" note = "I am an array item in banana fruit's table/map"
``` ```
The equivalent in JSON would be:
```json
The equivalent in JSON would be:
```json
{ {
"fruit": [ "fruit": [
{ {