gulp-markdown npm package of node.js


Overview

This is a plugin for gulp which is used to convert markdown files into HTML.

Code


													
var gulp = require('gulp');
var markdown = require('gulp-markdown');

gulp.task('default', function () {
    return gulp.src('source/mark.md')
        .pipe(markdown())
        .pipe(gulp.dest('dist'));
});
          
		
				
													
												

Run

  • Now run the snippet using the following command :
    													
    $ gulp