aboutsummaryrefslogtreecommitdiff
path: root/test/command/3701.md
blob: bd70fae5992854a7dcef90c60a05945ec8b5aa77 (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
```
% pandoc --reference-location=block -t markdown --reference-links --wrap=preserve
[a](u)

[a](u)

[a](u2)
[A](u)
[a](u){.foo}

[a](u3)
^D
[a]

  [a]: u

[a]

  [a]: u

[a][1]
[A][]
[a][2]

  [1]: u2
  [A]: u
  [2]: u {.foo}

[a][3]

  [3]: u3
```

```
% pandoc
[a]

  [a]: u

[a]

  [a]: u

[a][1]
[A][]
[a][2]

  [1]: u2
  [A]: u
  [2]: u {.foo}

[a][3]

  [3]: u3
^D
<p><a href="u">a</a></p>
<p><a href="u">a</a></p>
<p><a href="u2">a</a> <a href="u">A</a> <a href="u"
class="foo">a</a></p>
<p><a href="u3">a</a></p>
```