[Feature Request] Pandoc bibliography support?

Since Hugo supports pandoc now, I’d like to leverage pandoc’s built-in bibliography support.

Ideally, I’d be able to specify a bibliography file in the front matter of a markdown file, and have Hugo pass that file to pandoc via the --bibliography flag. Since Hugo already passes the --mathjax flag, it should be possible to pass other flags too.

Has anyone on the dev side explored this? Would folks be open to a PR? I have some experience writing Go, so I’d be happy to take a crack at it.