diff --git a/contrib/lua/memeposting.lua b/contrib/lua/memeposting.lua
index 7e8a0a1..e84df90 100644
--- a/contrib/lua/memeposting.lua
+++ b/contrib/lua/memeposting.lua
@@ -13,6 +13,10 @@ function explode_text(str)
return span_text("explode", str)
end
+function flashy_text(str)
+ return span_text("flashy", str)
+end
+
function psy_text(str)
return string.format("%s", str)
end
@@ -39,6 +43,7 @@ function memeposting(body, prefix)
body = string.gsub(body, "`(.-)`", pre_text)
body = string.gsub(body, "%(%(%((.-)%)%)%)", function(str) return string.format("
%s
", prefix, str) end)
body = string.gsub(body, "|(.-)|", wobble_text)
+ body = string.gsub(body, "%[%[%[(.-)%]%]%]", flashy_text)
body = string.gsub(body, "==(.-)==", red_text)
body = string.gsub(body, "@@(.-)@@", psy_text)
body = string.gsub(body, "//(.-)\\\\", explode_text)
diff --git a/contrib/static/site.css b/contrib/static/site.css
index 585551c..4308255 100644
--- a/contrib/static/site.css
+++ b/contrib/static/site.css
@@ -662,4 +662,18 @@ th > label {
.nazi {
padding: 10px;
+}
+
+
+@keyframes flash {
+ 0% { opacity: 1;}
+ 49% { opacity: 1; }
+ 50% { opacity: 0; }
+ 100% { opacity: 0; }
+}
+
+.flashy {
+ animation: flash 0.5s infinite;
+ animation-timing-function: linear;
+ text-align: center;
}
\ No newline at end of file