1

I´m using JADE and GULP to compile HTML but this settings output HTML minifield and I need that this HTML indent

How can I configure this to output HTML indent??

This is my gulpfile.js

gulp.task('jade', function() { 
  return gulp.src(config.jade)
    .pipe(jade())
    .pipe(gulp.dest('./assets/dist'))
});

1 Answer 1

5

I believe you can simply do this:

.pipe(jade({ pretty: true }))
1
  • Wow. . . Thank you idbehold
    – cfranco
    Commented Nov 13, 2015 at 19:56

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.