# gulp-apply-style **Repository Path**: mirrors_TrySound/gulp-apply-style ## Basic Information - **Project Name**: gulp-apply-style - **Description**: Mail processor - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2025-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # gulp-apply-style Mail processor ## Usage ```html Document ``` ```js gulp.src(['index.html', 'main.css']) .pipe(applyStyle(options)) .pipe(gulp.dest('dist')); // index.html ``` ## options ### options.processors - 'width' strips `px` and adds as attribute - 'height' the same - 'align' adds as an attribute - 'valign': the same - 'bgcolor': the same - 'background-color' adds as `bgcolor` attribute ### options.defaultAttribs Type: `object || false` - `table` - `border: 0` - `cellpadding: 0` - `cellspacing: 0` ### options.ext Default: `.html` Which files should be interpret as html ### options.clear - `links: true` - `classes: true` - `ids: true`