Instantly share code, notes, and snippets.

View setup.js
//add any extra settings you'd like below
settings.valid_children = '+a[h1|h2|h3|h4|h5|h6|p|span|div|img]';
settings.force_br_newlines = true;
settings.force_p_newlines = false;
settings.forced_root_block = false;
//makes "placeholder" a valid element for inputs
settings.extended_valid_elements = '+div[*],+a[*],+span[*],input[placeholder|acc$
View test.scss
$bodyColor: #95aabf;
$patter: "../images/pattern.png";
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 400;
src: local('Oswald Regular'), local('Oswald-Regular'), url(http://fonts.gstatic.com/s/oswald/v11/_P8jt3Y65hJ9c4AzRE0V1OvvDin1pK8aKteLpeZ5c0A.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
View gulpfile.js
var gulp = require('gulp');
gulp.task('hello', function() {
console.log("Hello Gulp!");
});
View gulpfile.js
var sass = require('gulp-sass');
gulp.task('sass', function ()
{
return gulp.src('app/scss/**/*.scss')
.pipe(sass())
.pipe(gulp.dest('app/css'))
});