Added Cite function to sample.lua.
commitb2aae73f14cbcb57b72886565e8bbef9a477b5d5
authorJohn MacFarlane <fiddlosopher@gmail.com>
dateFri 13 Dec 2013, 11:19 (13 years ago)
parentca3c292
data/sample.lua+4
@@ -181,6 +181,10 @@ function Span(s, attr)
181181 return "<span" .. attributes(attr) .. ">" .. s .. "</span>"
182182end
183183
184+function Cite(s)
185+ return "<span class=\"cite\">" .. s .. "</span>"
186+end
187+
184188function Plain(s)
185189 return s
186190end