1.0.2 • Published 9 years ago

gulp-dirty-markup v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

gulp-dirty-markup

Gulp wrapper for the dirty markup node module

Usage

dirtymarkup(options)

var dirtymarkup = require('gulp-dirty-markup');

gulp.task('default', function() {
    gulp.src('html/*.html')
        .pipe(dirtymarkup({ indent: 'auto' }))
        .pipe(gulp.dest('./output'));
}

Options

indent: Optional, defaults to auto. Options are auto, block or none.

indent-size: Optional, defaults to 4. Options are 'tabs', 2, 4 or 8.

allow-proprietary-attributes: Optional, no default. Set to 1 to allow.

mode: Optional, defaults to html. Options include html or 'css'.