Home

Awesome

prettify-markdown NPM version

Prettify, format or beautify your markdown. Whatever you want to call it, this does that. Used on hundreds of projects by verb.

Install with npm

npm i prettify-markdown --save

Currently this does very basic, naive formatting focusing on headings and whitespace control.

This was just externalized from verb, where this case was used on hundreds of projects to format API documentation. As basic as it is, this has gotten the job done pretty consistently.

Usage

var prettify = require('prettify-markdown');

// pass a string of markdown
var result = prettify(str);

Related projects

Running tests

Install dev dependencies:

npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on April 26, 2015.

<!-- reflinks generated by verb-reflinks plugin -->