Skip to content

Commit 5e61288

Browse files
committed
Syntax highlight for JavaScript source code
1 parent e96a437 commit 5e61288

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ Gulp plugin that unifying newline characters to either `\n`,`\r\n`, or `\r`.
77

88
## Usage
99

10-
var gulp = require("gulp");
11-
var convertEncoding = require("gulp-convert-newline");
12-
13-
gulp.task("default", function () {
14-
return gulp.src("src/file.txt")
15-
.pipe(convertNewline({
16-
newline: "crlf",
17-
encoding: "shift_jis"
18-
}))
19-
.pipe(gulp.dest("dest"));
20-
});
10+
```js
11+
var gulp = require("gulp");
12+
var convertEncoding = require("gulp-convert-newline");
13+
14+
gulp.task("default", function () {
15+
return gulp.src("src/file.txt")
16+
.pipe(convertNewline({
17+
newline: "crlf",
18+
encoding: "shift_jis"
19+
}))
20+
.pipe(gulp.dest("dest"));
21+
});
22+
```
2123

2224
## API
2325

0 commit comments

Comments
 (0)