Yeah, I tried looking there, I couldn't find what I wanted. I'm sure I'm missing something.
Do you mean the citations themselves? These are in el.citations. See https://pandoc.org/lua-filters.html#type-cite and https://pandoc.org/lua-filters.html#type-citation.On Fri, 20 Aug 2021 at 16:36, Leena Murgai <leena...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:So far I have the following, which puts the [linked_item_number] in the passage and in the marginnote but I'm missing the rest of the text_that_goes_in_the_bibliography.function Cite(el)return {pandoc.Span(el.content),pandoc.RawInline('html5', ' <span class = "marginnote">'),pandoc.Span(el.content),pandoc.RawInline('html5', ' </span>')}endOn Thursday, 19 August 2021 at 20:32:11 UTC-7 Leena Murgai wrote:Hi there,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?Any advice appreciated.--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/eda3d7b4-befd-4f42-9455-8a37373d33a6n%40googlegroups.com.