aboutsummaryrefslogtreecommitdiff
path: root/test/fb2/reader/meta.native
blob: 37d229755ffe15048af9bbc2606393b05c0e9f37 (plain)
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
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" ] ]