wallet-core/node_modules/highlight.js/lib/languages/erb.js
2017-05-24 15:11:17 +02:00

14 lines
272 B
JavaScript

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