aboutsummaryrefslogtreecommitdiff
path: root/test/command/3681.md
blob: e374f1c35eae2fa2fd56418b48a17da757a649b0 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
```
% pandoc -f latex -t native
\newcommand{\cicd}{CI/CD\xspace}

Software developers create \cicd pipelines to… Following issue can be resolved by \cicd:
^D
[ Para
  [ Str "Software"
  , Space
  , Str "developers"
  , Space
  , Str "create"
  , Space
  , Str "CI/CD"
  , Space
  , Str "pipelines"
  , Space
  , Str "to\8230"
  , Space
  , Str "Following"
  , Space
  , Str "issue"
  , Space
  , Str "can"
  , Space
  , Str "be"
  , Space
  , Str "resolved"
  , Space
  , Str "by"
  , Space
  , Str "CI/CD:"
  ]
]
```

```
% pandoc -f latex -t native
\newcommand{\cicd}{CI/CD\xspace}

\cicd\footnote{\url{https://en.wikipedia.org/wiki/CI/CD}} is awesome.
^D
[ Para
  [ Str "CI/CD"
  , Note
    [ Para
      [ Link
        ( "", [], [] )
        [ Str "https://en.wikipedia.org/wiki/CI/CD" ]
        ( "https://en.wikipedia.org/wiki/CI/CD", "" )
      ]
    ]
  , Space
  , Str "is"
  , Space
  , Str "awesome."
  ]
]
```

```
% pandoc -f latex -t native
\newcommand{\cicd}{CI/CD\xspace}
\newcommand{\pipeline}{pipeline\xspace}

\cicd\pipeline.
^D
[ Para [ Str "CI/CD", Space, Str "pipeline." ] ]
```