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
36 lines
793 B
JSON
36 lines
793 B
JSON
{
|
|
"document": {
|
|
"nodes": [
|
|
{
|
|
"object": "block",
|
|
"type": "title",
|
|
"nodes": [
|
|
{
|
|
"object": "text",
|
|
"leaves": [
|
|
{
|
|
"text": "Enforce Your Layout!"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "block",
|
|
"type": "paragraph",
|
|
"nodes": [
|
|
{
|
|
"object": "text",
|
|
"leaves": [
|
|
{
|
|
"text":
|
|
"This example shows how to enforce your layout with schema-specific rules. This document will always have a title block at the top and at least one paragraph in the body. Try deleting them and see what happens!"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|