mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 13:45:49 +00:00
This is now the default for pandoc's Markdown.
It allows whitespace between the two parts of a
reference link: e.g.
[a] [b]
[b]: url
This is now forbidden by default.
Closes #2602.
19 lines
171 B
Markdown
19 lines
171 B
Markdown
```
|
|
% pandoc
|
|
[a] [b]
|
|
|
|
[b]: url
|
|
^D
|
|
<p>[a] <a href="url">b</a></p>
|
|
```
|
|
|
|
```
|
|
% pandoc -f markdown+spaced_reference_links
|
|
[a] [b]
|
|
|
|
[b]: url
|
|
^D
|
|
<p><a href="url">a</a></p>
|
|
```
|
|
|