Extract vars from markdown files and output the markdown.
JavaScript
Switch branches/tags
Nothing to show
Latest commit d649f08 Jul 13, 2015 @nfroidure 1.0.1
Permalink
Failed to load latest commit information.
src
tests
.gitignore
.npmignore
.travis.yml
LICENCE
README.md
package.json

README.md

MDVars

MDVars extracts metadata in Markdown files.

NPM version Build status Dependency Status devDependency Status Coverage Status

## Usage NodeJS module:

var meta = {};
var Fs.createReadStream('markdown+metadatas.md')
  .pipe(new MDVars(meta, 'data'))
  .pipe(Fs.createWriteStream('markdownonly.md'));

console.log(meta.data);
// {title: 'A title', description: 'A description'}

Format

# A file
<!--VarStream
title=A title
description=A description
-->
Blahblahblah !

Contributing

Feel free to pull your code if you agree with publishing it under the MIT license.