This should be relatively simple but I can't find a clear answer about how to do it.
I am using the command:
pandoc -s myfile.tex -o outfile.md --bibliography mybib.bib
But outfile.md does not end up having any bibliography. What is going on?
The citations
extension is on by default. Pandoc tries to produce the cleanest output possible, so it uses @citeid
syntax instead of adding full citations when that extension is enabled. Disabling it will to the trick:
pandoc -t markdown-citations -s myfile.tex -o outfile.md --bibliography mybib.bib