AppFlowy/frontend/rust-lib/flowy-document/tests/assets/json/notion.json

371 lines
7.1 KiB
JSON
Raw Normal View History

{
"type": "page",
"data": {},
"children": [
{
"type": "heading",
"data": {
"delta": [
{
"attributes": null,
"insert": "The Notion Document"
}
],
"level": 1
},
"children": []
},
{
"type": "heading",
"data": {
"level": 1,
"delta": [
{
"attributes": null,
"insert": "Heading-1"
}
]
},
"children": []
},
{
"type": "heading",
"data": {
"level": 2,
"delta": [
{
"attributes": null,
"insert": "Heading - 2"
}
]
},
"children": []
},
{
"type": "heading",
"data": {
"level": 3,
"delta": [
{
"attributes": null,
"insert": "Heading - 3"
}
]
},
"children": []
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a paragraph"
}
]
},
"children": []
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "paragraphs child"
}
]
},
"children": []
},
{
"type": "bulleted_list",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a bulleted list - 1"
}
]
},
"children": [
{
"type": "bulleted_list",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a bulleted list - 1 - 1"
}
]
},
"children": []
}
]
},
{
"type": "bulleted_list",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a bulleted list - 2"
}
]
},
"children": []
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a paragraph"
}
]
},
"children": []
},
{
"type": "bulleted_list",
"data": {
"delta": [
{
"attributes": null,
"insert": "[ ] This is a todo - 1"
}
]
},
"children": [
{
"type": "bulleted_list",
"data": {
"delta": [
{
"attributes": null,
"insert": "[ ] This is a paragraph - 1-1"
}
]
},
"children": []
}
]
},
{
"type": "numbered_list",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a numbered list -1"
}
]
},
"children": []
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a paragraph"
}
]
},
"children": []
},
{
"type": "bulleted_list",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a toggle list"
}
]
},
"children": [
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a toggle child"
}
]
},
"children": []
}
]
},
{
"type": "quote",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a quote"
}
]
},
"children": [
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a quote child"
}
]
},
"children": []
}
]
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a paragraph"
}
]
},
"children": []
},
{
"type": "divider",
"data": {},
"children": []
},
{
"type": "code",
"data": {
"delta": [
{
"attributes": null,
"insert": "// This is the main function.\nfn main() {\n // Print text to the console.\n **println**!(\"Hello World!\");\n}"
}
],
"language": "jsx"
},
"children": []
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a paragraph"
}
]
},
"children": []
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "<aside>\n 💡 callout"
}
]
},
"children": []
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "</aside>"
}
]
},
"children": []
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "This is a paragraph font-color bg-color "
},
{
"attributes": {
"bold": true
},
"insert": "bold"
},
{
"attributes": {
"italic": true
},
"insert": "italic underline "
},
{
"attributes": {
"italic": true,
"strikethrough": true
},
"insert": "strike-through"
},
{
"attributes": {
"code": true,
"italic": true
},
"insert": "inline-code"
},
{
"attributes": {
"italic": true
},
"insert": " $inline-formula$ "
},
{
"attributes": {
"href": "https://www.notion.so/The-Notion-Document-d4236da306b84f6199e4091705042d78?pvs=21",
"italic": true
},
"insert": "link"
}
]
},
"children": []
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "$$\n |x| = \\begin{cases}\n x, &\\quad x \\geq 0 \\\\\n -x, &\\quad x < 0\n \\end{cases}\n $$"
}
]
},
"children": []
},
{
"type": "paragraph",
"data": {
"delta": [
{
"attributes": null,
"insert": "End"
}
]
},
"children": []
}
]
}