aboutsummaryrefslogtreecommitdiff
path: root/test/command/934.md
blob: 195d5602e4bc6e9374199bdca66071e9fb6aa544 (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 -f latex -t native
\newcommand{\ddb}[2]{
  \textit{``#1''}

  \textbf{#2}
}
\ddb{This should be italic and in quotes}{And this is the attribution}
^D
[ Para
  [ Emph
    [ Quoted DoubleQuote
      [ Str "This"
      , Space
      , Str "should"
      , Space
      , Str "be"
      , Space
      , Str "italic"
      , Space
      , Str "and"
      , Space
      , Str "in"
      , Space
      , Str "quotes"
      ]
    ]
  ]
, Para
  [ Strong
    [ Str "And"
    , Space
    , Str "this"
    , Space
    , Str "is"
    , Space
    , Str "the"
    , Space
    , Str "attribution"
    ]
  ]
]
```