Closed GoogleCodeExporter closed 9 years ago
Original comment by fiddloso...@gmail.com
on 17 Jan 2010 at 5:52
My mistake: this is not a bug. See
http://johnmacfarlane.net/pandoc/README.html#header-identifiers-in-html
Html ID attributes cannot contain spaces. For that reason, the
id pandoc generates from a title will replace the spaces with hyphens,
as explained in the manual. It also replaces uppercase with lowercase.
Hence, for the title "P 4e - 4f", the id is:
id="p-4e---4f
This looks a bit weird, because you already had a hyphen in the title.
But the rule is being followed, and it is simple enough to remember.
So, if you want to link to this header, you have to use the generated
id:
Several moves have been tried for White, but only
[P 4e -4f](#4.p-4e---4f) works reasonably:
Original comment by fiddloso...@gmail.com
on 17 Jan 2010 at 6:13
Original issue reported on code.google.com by
fiddloso...@gmail.com
on 17 Jan 2010 at 5:51