Update default.typst to support csl (#9186)

Typst now supports CSL for its native citation engine, so pandoc
should use a specified `csl` style in the template, falling back to
`bibliographystyle` if `csl` is not specified.

https://typst.app/docs/reference/meta/bibliography/
This commit is contained in:
Ian Max Andolina
2023-11-14 19:46:18 -08:00
committed by GitHub
parent 7db44d77b2
commit e562d23bc7
+4 -1
View File
@@ -83,7 +83,10 @@ $endif$
$body$
$if(citations)$
$if(bibliographystyle)$
$if(csl)$
#set bibliography(style: "$csl$")
$elseif(bibliographystyle)$
#set bibliography(style: "$bibliographystyle$")
$endif$