aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_content/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_content/init.lua')
-rw-r--r--lualib/lua_content/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lualib/lua_content/init.lua b/lualib/lua_content/init.lua
index 06d509e00..c23ca9d09 100644
--- a/lualib/lua_content/init.lua
+++ b/lualib/lua_content/init.lua
@@ -31,6 +31,12 @@ local content_modules = {
extensions = {'ical'},
output = "text"
},
+ pdf = {
+ mime_type = "application/pdf",
+ module = require "lua_content/pdf",
+ extensions = {'pdf'},
+ output = "table"
+ },
}
local modules_by_mime_type