Footnotes

Michel Fortin michel.fortin at michelf.com
Thu Jul 28 13:45:05 EDT 2005


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.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/


More information about the Markdown-Discuss mailing list