@height8 That'd be really great, thanks. Just one thing though: I specify the .bib location in the YAML header of the .md file. The .md file is what goes into Marked/pandoc, which reads the YAML to pull in the .bib to generate footnotes etc. That makes me wonder if a script in the preprocessor would only be able to replace characters in the .md and not the .bib.