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:
parent
848a80d87f
commit
68f016d886
@ -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": [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user