summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/hl/languages/erb.min.js
blob: e760aade7b3df318ff118e7f9c4218020525c14e (plain)
1
2
3
hljs.registerLanguage("erb",(()=>{"use strict";return e=>({name:"ERB",
subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",
end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]})})());