vim-pandoc-legacy
vim-pandoc-legacy copied to clipboard
HTML localleader html+ does not use a bibliography
When there is a file file.md
and a .bib file.bib
the localleader pdf+ will generate a correct latex output using the --bibliography file.bib
option, but the html+ does not give this option to pandoc, it executes the following:
pandoc -t html -Ss --mathml "file".html "file.md"
When manually executing the HTML build command, it properly uses the bibliography to generate references on the webpage, so the functionality is supported by pandoc:
pandoc file.md -o file.html --bibliography file.bib --mathml
I tried adding the PANDOC#P_BIBS
to the build command in plugin/pandoc.vim, but to no avail:
PandocRegisterExecutor PandocHtml <LocalLeader>html html pandoc -t html -Ss PANDOC#P_BIBS --mathml -o %:r.html %%