Prettify, format or beautify your markdown. Whatever you want to call it, this does that. Used on hundreds of projects by verb.
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.
var prettify = require('prettify-markdown'); // pass a string of markdown var result = prettify(str);
Install dev dependencies:
npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Copyright (c) 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on April 26, 2015.