1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 14:56:54 +02: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

View File

@@ -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
The equivalent in JSON would be:
```json
{
"fruit": [
{