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

3 lines
212 B
JavaScript
Raw Normal View History

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