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
|
Pandoc
Meta
{ unMeta =
fromList
[ ( "abstract"
, MetaBlocks
[ Para [ Str "Book" , Space , Str "annotation" ]
, Para
[ Str "Second"
, Space
, Str "paragraph"
, Space
, Str "of"
, Space
, Str "book"
, Space
, Str "annotation"
]
]
)
, ( "author"
, MetaList
[ MetaInlines
[ Str "First"
, Space
, Str "Middle"
, Space
, Str "Last"
]
, MetaInlines [ Str "Another" , Space , Str "Author" ]
]
)
, ( "date" , MetaInlines [ Str "2018" ] )
, ( "keywords"
, MetaList
[ MetaString "foo"
, MetaString "bar"
, MetaString "baz"
]
)
, ( "title"
, MetaInlines [ Str "Book" , Space , Str "title" ]
)
]
}
[ Header
1 ( "" , [] , [] ) [ Str "Body" , Space , Str "title" ]
]
|