Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 11 additions & 36 deletions docs/specification/output_format/content_list_spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,34 +87,15 @@
},
{
"type": "list",
"raw_content": "1. 第一项\n2. 第二项\n3. 第三项",
"raw_content": "<ul><li>You must be logged in to reply to this topic.</li></ul>",
"content": {
"items": [
[
[
{ "c": "第一项包含公式 ", "t": "text" },
{ "c": "E=mc^2", "t": "equation-inline" },
{ "c": " 与 markdown ", "t": "text" },
{ "c": "`示例`", "t": "md" }
]
],
[
[
{ "c": "第二项含内联代码 ", "t": "text" },
{ "c": "sum(a)", "t": "code-inline" }
],
[
{ "c": "附加段落:使用 md 标记。", "t": "md" }
]
],
[
[
{ "c": "第三项纯文本。", "t": "text" }
]
]
{
"c": "You must be logged in to reply to this topic."
}
],
"list_attribute": "ordered",
"list_nest_level": 1
"list_attribute": "unordered",
"list_nest_level": "1"
}
},
{
Expand All @@ -127,18 +108,12 @@
},
{
"type": "paragraph",
"raw_content": "爱因斯坦的质量方差公式是 E=mc^2,其中E是能量,m是质量,c是光速。示例代码 a+b",
"raw_content": "<html><head><title>Who Is In Your Top 3 Mentalists Of All Time? • MAGICIANSANDMAGIC.COM</title></head></html>",
"content": [
{ "c": "爱因斯坦的质量方差公式是 ", "t": "text" },
{ "c": "E=mc^2", "t": "equation-inline" },
{ "c": ",其中", "t": "text" },
{ "c": "E", "t": "md" },
{ "c": " 是能量,", "t": "text" },
{ "c": "m", "t": "md" },
{ "c": " 是质量,", "t": "text" },
{ "c": "c", "t": "md" },
{ "c": " 是光速。示例代码: ", "t": "text" },
{ "c": "a+b", "t": "code-inline" }
{
"c": "Who Is In Your Top 3 Mentalists Of All Time? • MAGICIANSANDMAGIC.COM",
"t": "text"
}
]
}
],
Expand Down