LocalCDN-Firefox-Chrome-Brave/resources/highlight.js/10.7.2/erb.min.jsm

3 lines
212 B
JavaScript

hljs.registerLanguage("erb",(()=>{"use strict";return e=>({name:"ERB",
subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",
end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]})})());