biofriction-wp-theme/node_modules/highlight.js/lib/languages/erb.js

14 lines
272 B
JavaScript

module.exports = function(hljs) {
return {
subLanguage: 'xml',
contains: [
hljs.COMMENT('<%#', '%>'),
{
begin: '<%[%=-]?', end: '[%-]?%>',
subLanguage: 'ruby',
excludeBegin: true,
excludeEnd: true
}
]
};
};