Add syntax highlighting to event example
This commit is contained in:
parent
ad02508db1
commit
aadf384a62
10
README.md
10
README.md
|
|
@ -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();
|
||||
});
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue