fix markdown for bibtex references