1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-06 05:49:47 +01:00
Renaud Chaput de4c9e478a Lint JSON, CSS and Markdown files with Prettier (#1612)
* Process and Lint CSS, Markdown and JSON files with Prettier

* Run `yarn prettier` to re-format Markdown, CSS and JSON files
2018-02-07 07:58:41 -08:00

72 lines
1.6 KiB
JSON

{
"document": {
"nodes": [
{
"object": "block",
"type": "paragraph",
"nodes": [
{
"object": "text",
"leaves": [
{
"text":
"This example shows how you can make a hovering menu appear above your content, which you can use to make text "
},
{
"text": "bold",
"marks": [
{
"type": "bold"
}
]
},
{
"text": ", "
},
{
"text": "italic",
"marks": [
{
"type": "italic"
}
]
},
{
"text": ", or anything else you might want to do!"
}
]
}
]
},
{
"object": "block",
"type": "paragraph",
"nodes": [
{
"object": "text",
"leaves": [
{
"text": "Try it out yourself! Just "
},
{
"text": "select any piece of text and the menu will appear",
"marks": [
{
"type": "bold"
},
{
"type": "italic"
}
]
},
{
"text": "."
}
]
}
]
}
]
}
}