From aadf384a629b12bdb6a0d804a7b5925c30213852 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 12 Jan 2016 10:25:19 +0100 Subject: [PATCH] Add syntax highlighting to event example --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5858bfb..f5cd012 100644 --- a/README.md +++ b/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(); +}); ```