Files
AFFiNE-Mirror/tests/blocksuite/snapshots/code/crud.spec.ts/format-text-in-code-block-format.json

88 lines
1.9 KiB
JSON

{
"type": "block",
"id": "0",
"flavour": "affine:page",
"version": 2,
"props": {
"title": {
"$blocksuite:internal:text$": true,
"delta": []
}
},
"children": [
{
"type": "block",
"id": "1",
"flavour": "affine:note",
"version": 1,
"props": {
"xywh": "[0,0,498,92]",
"background": {
"dark": "#000000",
"light": "#ffffff"
},
"index": "a0",
"lockedBySelf": false,
"hidden": false,
"displayMode": "both",
"edgeless": {
"style": {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "none",
"shadowType": "--affine-note-shadow-box"
}
}
},
"children": [
{
"type": "block",
"id": "3",
"flavour": "affine:code",
"version": 1,
"props": {
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "c"
},
{
"insert": "o",
"attributes": {
"bold": true
}
},
{
"insert": "ns"
},
{
"insert": "t a",
"attributes": {
"bold": true
}
},
{
"insert": "a"
},
{
"insert": "a = 1000",
"attributes": {
"bold": true
}
},
{
"insert": ";"
}
]
},
"language": "typescript",
"wrap": false,
"caption": ""
},
"children": []
}
]
}
]
}