git.iko.soy/typeable/pandoc
on master help sign in
Added note to README on positioning of reference link defs.
6f24fdbJohn MacFarlane
README+10−1
@@ -1984,7 +1984,6 @@ before or after the link).
1984
1984
1985The link consists of link text in square brackets, followed by a label in
1985The link consists of link text in square brackets, followed by a label in
1986square brackets. (There can be space between the two.) The link definition
1986square brackets. (There can be space between the two.) The link definition
1987−must begin at the left margin or indented no more than three spaces. It
1988consists of the bracketed label, followed by a colon and a space, followed by
1987consists of the bracketed label, followed by a colon and a space, followed by
1989the URL, and optionally (after a space) a link title either in quotes or in
1988the URL, and optionally (after a space) a link title either in quotes or in
1990parentheses.
1989parentheses.
@@ -2018,6 +2017,16 @@ empty, or omitted entirely:
2018
2017
2019 [my website]: http://foo.bar.baz
2018 [my website]: http://foo.bar.baz
2020
2019
2020+Note: In `Markdown.pl` and most other markdown implementations,
2021+reference link definitions cannot occur in nested constructions
2022+such as list items or block quotes. Pandoc lifts this arbitrary
2023+seeming restriction. So the following is fine in pandoc, though
2024+not in most other implementations:
2025+
2026+ > My block [quote].
2027+ >
2028+ > [quote]: /foo
2029+
2021### Internal links
2030### Internal links
2022
2031
2023To link to another section of the same document, use the automatically
2032To link to another section of the same document, use the automatically