0.0.3 • Published 7 years ago

gulp-revealjs v0.0.3

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

gulp-revealjs

Way to make slides with gulp wrapper for reveal.js

Installation

npm install gulp-revealjs

Usage

In gulpfile.js

const gulp = require('gulp')
	, pug = require('gulp-pug')
	, reveal = require('gulp-revealjs')
	;

gulp.task('slides', () => gulp.src('sources/*.pug')
	.pipe(pug({}))
	.pipe(reveal())
	.pipe(gulp.dest('slides/'))
);

Options

  • revealPath {string} - Path for reveal.js library if you don't want to use bundled version
  • revealOptions {object} - Object passed to Reveal.initialize constructor