How to set up Atom with Pandoc, LaTeX rendering and Mendeley

In Mendeley, go to Preferences → BibTeX and Enable Syncing. This will dump a BibTex file in the location specified.
--mathjax, --filter=mermaid-filter, --citeproc, --bibliography=/Users/YOUR_USERNAME/bibtex.bib
Check the Pandoc Parser box and add the command line arguments. Note that the — filter=pandoc-citeproc has been superseded by — citeproc.