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