Repository navigation
Expand file tree
/
Copy pathmarkbreak-chapter.json
More file actions
116 lines (116 loc) · 2.89 KB
/
Copy pathmarkbreak-chapter.json
File metadata and controls
116 lines (116 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"rig": "1.5.0",
"document": {
"title": "MarkBreak chapter sample",
"defaultUnit": "mm"
},
"entities": [
{
"id": "prefs",
"components": {
"rig.layout.facing": {
"enabled": true,
"binding": "left"
}
}
},
{
"id": "page-trade",
"components": {
"rig.meta.named": { "name": "Trade 6×9", "stableId": "page-trade" },
"rig.layout.page": {
"index": 0,
"width": 152.4,
"height": 228.6,
"unit": "mm",
"margins": [20, 18, 22, 18]
}
}
},
{
"id": "chapter-source",
"components": {
"rig.meta.named": { "name": "01-chapter.md", "stableId": "chapter-source" },
"rig.media.code": {
"text": "---\nrole: chapter\nmeta: meta.md\nlayout: layout.rig.json\n---\n\n# First chapter\n\nBody before the break.\n\n//break page\n\n## After the break\n\nBody on the next page.\n",
"language": "markdown"
},
"rig.media.asset_ref": { "kind": "document", "path": "01-chapter.md" }
}
},
{
"id": "style-paragraph",
"components": {
"rig.meta.named": { "name": "Paragraph", "stableId": "style-paragraph" },
"rig.story.paragraph_style": {}
}
},
{
"id": "style-header-1",
"components": {
"rig.meta.named": { "name": "Header 1", "stableId": "style-header-1" },
"rig.story.paragraph_style": {
"basedOn": "style-paragraph",
"keepWithNext": true
}
}
},
{
"id": "style-header-2",
"components": {
"rig.meta.named": { "name": "Header 2", "stableId": "style-header-2" },
"rig.story.paragraph_style": {
"basedOn": "style-paragraph",
"keepWithNext": true
}
}
},
{
"id": "p-title",
"components": {
"rig.story.paragraph": {
"style": "style-header-1",
"runs": [{ "text": "First chapter" }]
}
}
},
{
"id": "p-before",
"components": {
"rig.story.paragraph": {
"style": "style-paragraph",
"breakType": "page",
"runs": [{ "text": "Body before the break." }]
}
}
},
{
"id": "p-section",
"components": {
"rig.story.paragraph": {
"style": "style-header-2",
"runs": [{ "text": "After the break" }]
}
}
},
{
"id": "p-after",
"components": {
"rig.story.paragraph": {
"style": "style-paragraph",
"runs": [{ "text": "Body on the next page." }]
}
}
},
{
"id": "story",
"components": {
"rig.meta.named": { "name": "First chapter", "stableId": "story" },
"rig.story.flow": {
"role": "chapter",
"blocks": ["p-title", "p-before", "p-section", "p-after"]
}
}
}
]
}