Javascript Footnote Creator


/ Published in: JavaScript
Save to your folder(s)

Finds footnotes and adds them to a list. Just put "footnote" into the class of an element, and it'll automatically pull it out of context, replace it with a reference link, put the footnote into the list with id 'notes', and include a backreference so that your readers don't get lost. Embedded markup and nested footnotes work fine. Everything has CSS classes, so you can style it to your heart's content. Requires Prototype.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.