Extract VarStream metadatas from markdown files.


Parse VarStream metadatas in a markdown file and reemit the cleaned up markdown content with Gulp.

First, install gulp-mdvars as a development dependency:

npm install --save-dev gulp-mdvars

Then, add it to your gulpfile.js:

var mdvars = require('gulp-mdvars');
var marked = require('gulp-marked');
gulp.task('mdvars', function() {
      prop: 'metadata', // Datas will be set to the file object in the given property 
    .pipe(marked()) // Do whatever you want with the cleaned up datas 

gulp-mdvars is build on top of mdvars and varstream NPM modules. Please report specific issues in the corresponding repository.

Type: String Default value: 'metadata'

A string value indicating in wich property metadatas must be filled.