From 2d6ea96bb3de7abee5282a0b1238d3733bf3c219 Mon Sep 17 00:00:00 2001 From: 45345345 Date: Thu, 14 Jan 2016 12:58:56 +0300 Subject: [PATCH] Update README.md Add syntax highlighting for Migration from section --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b5293c8..6422072 100644 --- a/README.md +++ b/README.md @@ -236,7 +236,7 @@ or TypeError: useref.assets is not a function For a simple configuration, you can replace this V2 code: - +```js var gulp = require('gulp'), useref = require('gulp-useref'); @@ -249,9 +249,9 @@ For a simple configuration, you can replace this V2 code: .pipe(useref()) .pipe(gulp.dest('dist')); }); - +``` with this V3 code: - +```js var gulp = require('gulp'), useref = require('gulp-useref'); @@ -260,7 +260,7 @@ with this V3 code: .pipe(useref()) .pipe(gulp.dest('dist')); }); - +``` If you were previously using useref in a multi-stage pipe, you may need to rewrite the pipe, since the simplified V3 API may not allow for its previous usage.