pandoc-zotxt-bib.pl will go through your Pandoc document, collect your citations, and print an appropriate BibTeX database extracted from Zotero via the zotxt extension
Use it as such:
$ pandoc-zotxt-bib.pl TheDocument.markdown > Bibliography.bib
For more info, see the perldoc.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!