aboutsummaryrefslogtreecommitdiff
path: root/test/rtf/formatting.native
blob: 6e5001de39d86b15dc7689e68abb90b588705625 (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
44
45
46
47
48
49
50
51
Pandoc
  ( Meta
    { unMeta = fromList
      [
        ( "operator"
        , MetaInlines
          [ Str "John", Space, Str "MacFarlane" ]
        )
      ]
    }
  )
  [ Para
    [ Str "This"
    , Space
    , Str "is"
    , Space
    , Str "a"
    , Space
    , Str "test"
    , Space
    , Str "of"
    , Space
    , Str "FORMATTING."
    , Space
    , Str "This"
    , Space
    , Str "is"
    , Space
    , Str "hidden:"
    , Space
    , Str "."
    ]
  , Para
    [ SmallCaps [ Str "Small", Space, Str "Caps" ] ]
  , Para
    [ Strong [ Str "bold" ] ]
  , Para
    [ Emph [ Str "italics" ] ]
  , Para
    [ Strong
      [ Str "bold", Space, Emph [ Str "and", Space, Str "italics" ] ]
    ]
  , Para
    [ Underline [ Str "underlined" ] ]
  , Para
    [ Strikeout [ Str "strikeout" ] ]
  , Para
    [ Str "x", Superscript [ Str "superscript" ] ]
  , Para
    [ Str "x", Subscript [ Str "subscript" ] ]
  ]