Add .yml to Citeproc formatFromExtension (#7706)

Make Citeproc recognize files with .yml extension (in addition to .yaml)
as YAML bibliographies.

Closes #7707.
This commit is contained in:
Jörn Krenzer 2021-11-22 17:42:09 +01:00 committed by GitHub
parent a19134f74d
commit 17495bf8eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -357,6 +357,7 @@ formatFromExtension fp = case dropWhile (== '.') $ takeExtension fp of
"bib" -> Just Format_biblatex
"json" -> Just Format_json
"yaml" -> Just Format_yaml
"yml" -> Just Format_yaml
_ -> Nothing