PhilJ / gulp-kss

Gulp plugin for KSS (Knyle Style Sheets) documentation generation
50 stars 34 forks source link

SCSS #5

Closed vasco3 closed 7 years ago

vasco3 commented 10 years ago

Does this supports SASS CSS?

tarciozemel commented 10 years ago

Yep.

finteractive commented 10 years ago

I'm new to gulp so in case this helps someone I thought I'd posting my SASS example

var gulpkss = require('gulp-kss');

gulp.task('styleguide', function() {
  gulp.src(['sass/**/*.scss'])
      .pipe(gulpkss({
          overview: __dirname + '/sass/styleguide.md'
      }))
    .pipe(gulp.dest('styleguide/'));
});
tarciozemel commented 10 years ago

@fosterinteractive That's it! And the option markdown: true opens the possibility for more awesome docs. :-)