demydd / pandoc

Automatically exported from code.google.com/p/pandoc
0 stars 0 forks source link

Option to specify footnote anchor prefix #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Jonathan Deber notes on the Markdown list: "If you're posting to a CMS
system where multiple articles may appear on the same HTML page, you need
to assign each article a GUID so that the footnote links make sense (i.e.,
you can't have two articles that both use "fnref" as the anchor name for
the footnotes, since you would end up with two anchors with the same name
if two articles are published on the same page). It's of course possible to
do this with a search and replace of "fnref" to something like
"2007-01-23-1" prior to publishing. But, it would be nice if you could
specify a document GUID and have the Markdown processor do that
substitution for you."

Perhaps a command-line option should be provided to specify a string to be
added to the anchor names?

Original issue reported on code.google.com by fiddloso...@gmail.com on 4 Jan 2008 at 8:14

GoogleCodeExporter commented 8 years ago
The prefix should be applied to all automatically generated IDs, including div 
IDs
for sections.

Original comment by fiddloso...@gmail.com on 24 Oct 2009 at 7:37

GoogleCodeExporter commented 8 years ago

Original comment by fiddloso...@gmail.com on 5 Dec 2009 at 8:02

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1650.

Original comment by fiddloso...@gmail.com on 5 Dec 2009 at 5:56