aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/sample.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/sample.lua b/data/sample.lua
index 574f378cc..0c07b632a 100644
--- a/data/sample.lua
+++ b/data/sample.lua
@@ -170,6 +170,12 @@ function Span(s, attr)
return "<span" .. attributes(attr) .. ">" .. s .. "</span>"
end
+function RawInline(format, str)
+ if format == "html" then
+ return str
+ end
+end
+
function Cite(s, cs)
local ids = {}
for _,cit in ipairs(cs) do
@@ -307,6 +313,12 @@ function Table(caption, aligns, widths, headers, rows)
return table.concat(buffer,'\n')
end
+function RawBlock(format, str)
+ if format == "html" then
+ return str
+ end
+end
+
function Div(s, attr)
return "<div" .. attributes(attr) .. ">\n" .. s .. "</div>"
end