A JavaScript module that converts new lines to paragraph tags.
npm install lines-to-paragraphs --save-dev
var paragraphs = require('lines-to-paragraphs');
var content = 'Lorem ipsum\n\nTesting more content';
paragraphs(content);
- 1.0.3: Update documentation.
- 1.0.2: Add tests.
- 1.0.0: Initial release.
- Fork it
- Run
npm install
- Run Grunt watch
grunt watch
- 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## License MIT © Ryan Burgess