add psytext alias in lua
This commit is contained in:
parent
f1f9ae33d9
commit
f94ecbdaa9
@ -13,9 +13,14 @@ function explode_text(str)
|
|||||||
return span_text("explode", str)
|
return span_text("explode", str)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function psy_text(str)
|
||||||
|
return span_text("psy", str)
|
||||||
|
end
|
||||||
|
|
||||||
-- generate extra markup
|
-- generate extra markup
|
||||||
function memeposting(body, prefix)
|
function memeposting(body, prefix)
|
||||||
body = string.gsub(body, "|(.-)|", wobble_text)
|
body = string.gsub(body, "|(.-)|", wobble_text)
|
||||||
body = string.gsub(body, "//(.-)\\\\", explode_text)
|
body = string.gsub(body, "//(.-)\\\\", explode_text)
|
||||||
|
body = string.gsub(body, "/@(.-)@\\", psy_text)
|
||||||
return body
|
return body
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user