aboutsummaryrefslogtreecommitdiff
path: root/test/command/5635.md
blob: 72440616f607c2f2a488f869e7e7106922b1be91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
```
% pandoc -f latex -t plain
\providecommand{\test}{foo}
\providecommand{\test}{bar}

The value is: \test
^D
The value is: foo
```

```
% pandoc -f latex -t plain
\provideenvironment{test}{startfoo}{stopfoo}
\provideenvironment{test}{startbar}{stopbar}

\begin{test}
Hi
\end{test}
^D
startfoo Hi stopfoo
```