csl-clio/Filtres-Pandoc/license-dans-metadonnees.lua~

15 lines
236 B
Lua
Raw Normal View History

2021-04-15 22:02:49 +01:00
local List = require 'pandoc.List'
local license = nil
function Div (div)
if div.identifier == 'license' then
license = div.content
return {}
end
end
function Meta (meta)
meta.license = license
return meta
end