diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-05-25 12:50:43 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-05-25 12:57:31 +0200 |
commit | 708973a33a0ce425bb21a5ffa06fbdab465d3fb8 (patch) | |
tree | b0cf3d0dd00f098384d7a813e3754aa80b2bb512 /MANUAL.txt | |
parent | 650e1ac1fdbbb172c58c1898607a7f82806cf55e (diff) |
Added `spaced_reference_links` extension.
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.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r-- | MANUAL.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 170af0d6f..2cd35d14d 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -3100,7 +3100,8 @@ definition, which may occur elsewhere in the document (either 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 +square brackets. (There cannot be space between the two unless the +`spaced_reference_links` extension is enabled.) The link definition 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. The label must not be parseable as a citation (assuming @@ -3551,6 +3552,13 @@ implied by pandoc's default `all_symbols_escapable`. Allow a list to occur right after a paragraph, with no intervening blank space. +#### Extension: `spaced_reference_links` #### + +Allow whitespace between the two components of a reference link, +for example, + + [foo] [bar]. + #### Extension: `hard_line_breaks` #### Causes all newlines within a paragraph to be interpreted as hard line |