This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
|
return {
|
|
{
|
|
Meta = function(meta)
|
|
local rawText = pandoc.pipe("pdftotext", {os.getenv("OUTPUT_FILE"), "-"}, "")
|
|
meta["wordcount"] = pandoc.pipe("wc", {"-w"}, rawText)
|
|
return meta
|
|
end,
|
|
},
|
|
}
|