README: clarified documentation of implicit_header_references.

Closes #2904.
This commit is contained in:
John MacFarlane 2016-05-09 13:01:48 -07:00
parent fd9ec835ec
commit 888a273c1b

15
README
View file

@ -1591,21 +1591,26 @@ CSS.
#### Extension: `implicit_header_references` ####
Pandoc behaves as if reference links have been defined for each header.
So, instead of
So, to link to a header
[header identifiers](#header-identifiers-in-html)
# Header identifiers in HTML
you can simply write
[header identifiers]
[Header identifiers in HTML]
or
[header identifiers][]
[Header identifiers in HTML][]
or
[the section on header identifiers][header identifiers]
[the section on header identifiers][header identifiers in
HTML]
instead of giving the identifier explicitly:
[Header identifiers in HTML](#header-identifiers-in-html)
If there are multiple headers with identical text, the corresponding
reference will link to the first one only, and you will need to use explicit