29 lines
374 B
Markdown
29 lines
374 B
Markdown
|
```
|
||
|
% 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
|
||
|
```
|