add _extensions

This commit is contained in:
2026-05-21 13:37:53 +08:00
parent 6a9a5fc90e
commit 61bd0bea2f
252 changed files with 33972 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
--- Get a BibTeX/BibLaTeX or CSL JSON file cited from a large database
--- Source: https://pandoc.org/lua-filters.html#pandoc.utils.references
--- https://fosstodon.org/@pandoc/109549882954402931
--- Copyright: © 2022Present Albert Krewinkel
--- License: MIT License
-- *Note*: For BibLaTeX, it is needed to change the following entry name:
-- - journal -> journaltitle
-- - address -> location
-- - publisher -> institution (only for thesis)
function Pandoc(doc)
doc.meta.references = pandoc.utils.references(doc)
doc.meta.bibliography = nil
return doc
end