diff --git a/contrib/lua/memeposting.lua b/contrib/lua/memeposting.lua index 330ef41..899ef3b 100644 --- a/contrib/lua/memeposting.lua +++ b/contrib/lua/memeposting.lua @@ -13,9 +13,14 @@ function explode_text(str) return span_text("explode", str) end +function psy_text(str) + return span_text("psy", str) +end + -- generate extra markup function memeposting(body, prefix) body = string.gsub(body, "|(.-)|", wobble_text) body = string.gsub(body, "//(.-)\\\\", explode_text) + body = string.gsub(body, "/@(.-)@\\", psy_text) return body end