diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-05-13 23:02:54 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-05-13 23:12:58 -0700 |
commit | 24ee1ab4f739d9f89e3d2741d841a99ebaaafabf (patch) | |
tree | a07826e6f6499c4279a9742c57f2d6c1c16083a2 /README | |
parent | dc51114320e49945be191cbc3886ad6b4970c72a (diff) | |
download | pandoc-24ee1ab4f739d9f89e3d2741d841a99ebaaafabf.tar.gz |
Markdown reader: Made implicit header references case-insensitive.
Added `stateHeaderKeys` to `ParserState`; this is a `KeyTable`
like `stateKeys`, but it only gets consulted if we don't find
a match in `stateKeys`, and if `Ext_implicit_header_references`
is enabled.
Closes #1606.
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1269,10 +1269,17 @@ 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 links to link to the others, as described above. -Unlike regular reference links, these references are case-sensitive. +Like regular reference links, these references are case-insensitive. -Note: if you have defined an explicit identifier for a header, -then implicit references to it will not work. +Explicit link reference definitions always take priority over +implicit header references. So, in the following example, the +link will point to `bar`, not to `#foo`: + + # Foo + + [foo]: bar + + See [foo] Block quotations ---------------- |