27 lines
257 B
Markdown
27 lines
257 B
Markdown
|
Make sure we don't get duplicate reference links, even with
|
||
|
`--reference-location=section`.
|
||
|
|
||
|
```
|
||
|
% pandoc --reference-links -t markdown --reference-location=section --atx-headers
|
||
|
# a
|
||
|
|
||
|
![](a)
|
||
|
|
||
|
# b
|
||
|
|
||
|
![](b)
|
||
|
|
||
|
^D
|
||
|
# a
|
||
|
|
||
|
![][1]
|
||
|
|
||
|
[1]: a
|
||
|
|
||
|
# b
|
||
|
|
||
|
![][2]
|
||
|
|
||
|
[2]: b
|
||
|
```
|