Work in progress
Prettify your html.
npm install --save prettify-html
or
yarn add prettify-html
var prettifyHtml = require('prettify-html')
var html = '<div>my <a href="link">nested</a> html</div>'
var prettified = prettifyHtml(html)
/* output:
<div>
my
<a href="link">nested</a>
html
</div>
*/
MIT
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander (@4lpine).
Contributors:
This package was initially generated with yeoman and the p generator.