summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/hl/languages/erb.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/erb.min.js')
-rw-r--r--pyssg.xyz/live/static/hl/languages/erb.min.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/erb.min.js b/pyssg.xyz/live/static/hl/languages/erb.min.js
new file mode 100644
index 0000000..e760aad
--- /dev/null
+++ b/pyssg.xyz/live/static/hl/languages/erb.min.js
@@ -0,0 +1,3 @@
+hljs.registerLanguage("erb",(()=>{"use strict";return e=>({name:"ERB",
+subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",
+end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]})})()); \ No newline at end of file