I'm converting from LaTeX to HTML5. I'd like to put my citations in 'sidenote's rather than at the end of the doc. In practice, this just means I want the output html: to look like
[linked_item_number] <span class=marginnote>
text_that_goes_in_the_bibliography</span>
How do I access the element that goes into the citation, i.e. text_that_goes_in_the_bibliography?