Add syntax highlighting to event example

This commit is contained in:
Simen Bekkhus 2016-01-12 10:25:19 +01:00
parent ad02508db1
commit aadf384a62
1 changed files with 5 additions and 5 deletions

View File

@ -276,9 +276,9 @@ To allow other plugins to alter the html this plugin executes the following even
Usage:
```
compilation.plugin('html-webpack-plugin-before-html-processing', function(htmlPluginData, callback) {
htmlPluginData.html += 'The magic footer';
callback();
});
```javascript
compilation.plugin('html-webpack-plugin-before-html-processing', function(htmlPluginData, callback) {
htmlPluginData.html += 'The magic footer';
callback();
});
```