Footnotes

Mark Henderson Linton marklinton at mac.com
Thu Jul 28 13:52:17 EDT 2005



On Jul 28, 2005, at 1:45 PM, Michel Fortin wrote:


> Le 28 juil. 2005, à 13:17, Mark Henderson Linton a écrit :

>

>

>> How about something like the way Gracenote identifies CDs.

>> Generate a CRC from the entire input stream (or other appropriate

>> hash) and then use that as a root for the ID and a one-up counter

>> to make them unique within the snippet. That way, the same input

>> would generate the same IDs. They would be likely, though not

>> guaranteed, to be unique and so could be used on index pages that

>> aggregated multiple markdown snippets. They would be ugly

>> (md74698764_001), but workable.

>>

>

> This mean that each time you update your document, every id will

> change and URLs using them will be broken.


Yes, but *the same input* would produce *the same output*. Though,
you are correct that the IDs would change and that would confuse
anyone who had bookmarked a link to those IDs. The internal links
(that is, the footnotes) would continue to work.

Sincerely,
Mark Linton
--
Even silence speaks. -- Hausa Proverb from Nigeria

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://six.pairlist.net/pipermail/markdown-discuss/attachments/20050728/ca5ee3c6/attachment.html


More information about the Markdown-Discuss mailing list