-
Notifications
You must be signed in to change notification settings - Fork 0
/
mappings.js
37 lines (37 loc) · 917 Bytes
/
mappings.js
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
exports.mappings = [{
sourceType: 'head',
targetType: 'title',
directiveMappings: [{source: 'title', target: 'text'}]
},
{
sourceType: 'head',
targetType: 'intro',
directiveMappings: [{source: 'text', target: 'text'}]
},
{
sourceType: 'paragraph',
targetType: 'body',
directiveMappings: [{source: 'text', target: 'text'}]
},
{
sourceType: 'subtitle',
targetType: 'crosshead',
directiveMappings: [{source: 'title', target: 'text'}]
},
{
sourceType: 'inline-title',
targetType: 'crosshead',
directiveMappings: [{source: 'title', target: 'text'}]
},
{
sourceType: 'quote',
targetType: 'quote',
directiveMappings: [{source: 'text', target: 'text'}, {source: 'author', target: 'author'}]
},
{
sourceType: 'image',
targetType: 'image',
directiveMappings: [{source: 'image', target: 'image'},
{source: 'caption', target: 'caption'},
{source: 'source', target: 'credit'}]
}]