Footnotes

Joseph Lorenzo Hall joehall at gmail.com
Thu Jul 28 14:31:13 EDT 2005


On 7/28/05, Mark Henderson Linton <marklinton at mac.com> wrote:

>

>

> 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.


you could do the same thing just on the content of the footnotes
themselves (hash the footnote text including the `[^1]:` identifier).
-Joe


More information about the Markdown-Discuss mailing list