diff options
author | John MacFarlane <jgm@berkeley.edu> | 2012-08-12 19:32:40 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2012-08-12 19:32:40 -0700 |
commit | 6f24fdb65811661eac851c10e12330878223454b (patch) | |
tree | 13771ca45434436923f12533c62ab5ab2c3da8c5 | |
parent | f19e6496f5dadedac4ae2ab52dd4e4c672d21e10 (diff) | |
download | pandoc-6f24fdb65811661eac851c10e12330878223454b.tar.gz |
Added note to README on positioning of reference link defs.
-rw-r--r-- | README | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1984,7 +1984,6 @@ before or after the link). The link consists of link text in square brackets, followed by a label in square brackets. (There can be space between the two.) The link definition -must begin at the left margin or indented no more than three spaces. It consists of the bracketed label, followed by a colon and a space, followed by the URL, and optionally (after a space) a link title either in quotes or in parentheses. @@ -2018,6 +2017,16 @@ empty, or omitted entirely: [my website]: http://foo.bar.baz +Note: In `Markdown.pl` and most other markdown implementations, +reference link definitions cannot occur in nested constructions +such as list items or block quotes. Pandoc lifts this arbitrary +seeming restriction. So the following is fine in pandoc, though +not in most other implementations: + + > My block [quote]. + > + > [quote]: /foo + ### Internal links To link to another section of the same document, use the automatically |