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.
var prettify = require('prettify-markdown');
// pass a string of markdown
var result = prettify(str);
- markdown-toc: Generate a markdown TOC (table of contents) with Remarkable.
- remarkable: Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in… more
Install dev dependencies:
npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on April 26, 2015.