0.1.0 • Published 10 years ago

nested-layouts v0.1.0

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

nested-layouts NPM version

Recursively inject content into nested layouts.

Not ready for implementation!

Install

Install with npm:

npm i nested-layouts --save-dev

stack(str, regex, function)

var stack = require('nested-layouts');
// foo defines the first layout of 6
var str = fs.readFileSync('foo.md');
console.log(stack(str, re, fn));

// =>
// B above
// C above
// D above
// E above
// {{body}}
// E below
// D below
// C below
// B below

Author

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on May 29, 2014.