summaryrefslogtreecommitdiff
path: root/paper/writers/jsonld.lua
diff options
context:
space:
mode:
Diffstat (limited to 'paper/writers/jsonld.lua')
-rw-r--r--paper/writers/jsonld.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/paper/writers/jsonld.lua b/paper/writers/jsonld.lua
new file mode 100644
index 0000000..697dc9f
--- /dev/null
+++ b/paper/writers/jsonld.lua
@@ -0,0 +1,14 @@
+--
+-- jsonld.lua
+--
+-- Copyright (c) 2017 Albert Krewinkel, Robert Winkler
+--
+-- This program is free software; you can redistribute it and/or modify it
+-- under the terms of the GNU public license version 2 or later.
+-- See the LICENSE file for details.
+
+function Doc (body, meta, variables)
+ return meta.jsonld
+end
+
+setmetatable(_G, {__index = function () return function () return '' end end})