citeproc
citeproc copied to clipboard
Add prefix and suffix to Citation (group)
Currently citationItem has citationItemPrefix/Suffix, but there is no way to provide a prefix or suffix for the whole Citation (group). For motivation see https://github.com/jgm/pandoc/issues/10894.
Proposal:
- Add
citationPrefix :: Maybe a, citationSuffix :: Maybe atoCitation a. - Modify Eval so that these are added to the rendered citationItems.
- Add a test where citations are sorted, changing their order, to make sure that the
citationPrefixandcitationSuffixremain at the beginning/end of the rendered Citation.
Working version in branch issue156