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:
parent
a19134f74d
commit
17495bf8eb
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue