1.0.1 • Published 9 years ago
mdvars v1.0.1
MDVars
MDVars extracts metadata in Markdown files.
## 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.