I would like to generate academic paper from markdown using pandoc. Everything goes perfectly except the hyperlink for cross-references:
I just used this to generate pdf: pandoc xxx.md -o xxx.pdf --biliography=path\bib.bib
, and wrote @author2015
in the .md file for a citation.
In the output pdf-file, all the references are listed in the bibliography, and the citation looks like (author, 2015)
, but without being a hyperlink into the bibliography. Similar question without answer here: Add markers and hyperlinks for citations in pandoc
Similar problem occurred when I tried to generate a hyperlink to an internal section in the same document, by writing: see [this](#shorttitle)
in markdown, to jump to a former section with a title like ## Title {#shorttitle}
.
Could anyone who is familiar with pandoc and markdown tell me, how can I fix this problem to generate those hyperlinks? Is this a limit of pandoc, or should I add some other configurations? Thank you!