mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-03-06 05:49:47 +01:00
* Process and Lint CSS, Markdown and JSON files with Prettier * Run `yarn prettier` to re-format Markdown, CSS and JSON files
66 lines
1.3 KiB
JSON
66 lines
1.3 KiB
JSON
{
|
|
"document": {
|
|
"nodes": [
|
|
{
|
|
"object": "block",
|
|
"type": "paragraph",
|
|
"nodes": [
|
|
{
|
|
"object": "text",
|
|
"leaves": [
|
|
{
|
|
"text":
|
|
"In addition to block nodes, you can create inline void nodes, like "
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "inline",
|
|
"type": "emoji",
|
|
"isVoid": true,
|
|
"data": {
|
|
"code": "😃"
|
|
}
|
|
},
|
|
{
|
|
"object": "text",
|
|
"leaves": [
|
|
{
|
|
"text": "!"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "block",
|
|
"type": "paragraph",
|
|
"nodes": [
|
|
{
|
|
"object": "inline",
|
|
"type": "emoji",
|
|
"isVoid": true,
|
|
"data": {
|
|
"code": "🍔"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "block",
|
|
"type": "paragraph",
|
|
"nodes": [
|
|
{
|
|
"object": "text",
|
|
"leaves": [
|
|
{
|
|
"text": "This example shows emojis in action."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|