aboutsummaryrefslogtreecommitdiff
path: root/test/command/3619.md
blob: 62962c43bbf35f1912ce15a07960c7f55722959f (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
```
% pandoc -f html -t markdown --reference-links
<a href="foo">bar</a>: baz
^D
[bar][]: baz

  [bar]: foo
```

```
% pandoc -f html -t markdown --reference-links
<a href="foo">bar</a>(baz)
^D
[bar][](baz)

  [bar]: foo
```

```
% pandoc -f html -t markdown_strict --reference-links
<a href="a">foo</a><br/><a href="b">bar</a>
^D
[foo][]  
[bar]

  [foo]: a
  [bar]: b
```