Closed rgaiacs closed 10 years ago
Hm... why can't we have hyphens in anchor names when working with Pandoc?
We can have hyphens in anchor names, e.g.
**<a name="comma-separeted-values">comma-separated values</a>** (CSV):
The problem with
**<a name="alias-library">alias</a>** (a library):
is that we need to recreate anchor names from
<strong>alias</strong> (a library):
and it is easy to do using only the text inside strong
tag other than searching for :
and handle the text before it. For example, how can the script knows if the text between brackets is an complement as the example above or an short version as the first example?
This feels fragile, but I can't think of a better way to do it. Go ahead and merge it in...
Merge with #435.
550 describes how to workaround pandoc's limitation to deal with anchors. This PR change some anchors since we will need to recreate it from the text.