node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

packdownjs

Packdown

Packdown = Markdown + files.

Build Status codecov.io

Installing

  • npm: npm install -g packdownjs

Usage

Save the following as example.md:

## /hello
```
hello world!
```

Extract with CLI

packdown extract example.md

Parse with library

var fs = require('fs');
var packdown = require('packdownjs');
var doc = packdown.read(fs.readFileSync('example.md', 'utf8'));

Source

License

Packdown is provided under the MIT License.

Credits

Thanks to @hardmath123 for help with the parser grammar.

Packdown is a project by Ivan Malopinsky.