You'd need to check the csl you are using and how each of them is referencing the URL field.

After a quick glance at apa.csl and nature.csl from zotero.org, it seems that apa inserts URLs more often (nature needs the bib entry to be of type webpage?)

On Tuesday, July 9, 2019 at 9:25:02 PM UTC+2, L wrote:
Hi, I have a script that converts my Markdown documents to PDF via Pandoc. For `--bibliography`, I have specified a Better BibTex *.bib file, and for `--csl`, I have specified nature.csl from my Zotero folder.

When I run the script, everything works perfectly except that where Pandoc inserts the references at the end of the document, my web page references do not include their hyperlink. 

One thing I tried was switch the nature.csl to the apa.csl. When run with apa.csl, web page hyperlinks were correctly inserted in the references.

Is this something wrong with: 1) the nature.csl stylesheet; 2) a missing Pandoc option; or 3) a Zotero/Better BibTex setting?

Here is the exact code I'm using:
MARKDOWN_DOC="/path/to/doc.md"

pandoc \
-s \
-f markdown \
-o ${MARKDOWN_DOC}.pdf \
-V geometry:margin=1in \
--bibliography "/path/to/BBTBibliography.bib" \
--csl "/Users/user/Zotero/styles/nature.csl" \
$MARKDOWN_DOC

Any help would be appreciated, thanks!

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/68d022a5-3197-4eac-a970-180f28a79111%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.