Files
adf-codec/corpus/round-trip/inline-nodes/text-whitespace.json

97 lines
1.7 KiB
JSON

{
"content": [
{
"content": [
{
"text": " Two leading spaces held, and one text node split\nover two lines.",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Trailing space held ",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "\tTabbed at the block edge.",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Space before the break ",
"type": "text"
},
{
"type": "hardBreak"
},
{
"text": "survives.",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Space after the break",
"type": "text"
},
{
"type": "hardBreak"
},
{
"text": " survives too.",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Kept ",
"type": "text"
},
{
"marks": [
{
"type": "em"
}
],
"text": " inside ",
"type": "text"
},
{
"text": ", exactly.",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "\u000bEdged with the whitespace CommonMark keeps\f",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}