jrm2k6/react-markdown-editor

View on GitHub
src/utils/MarkdownUtils.js

Summary

Maintainability
A
0 mins
Test Coverage
var toMarkdown =  function(text) {
  return text.replace(/[\n\r]/g, '  \n');
};

module.exports = {
  toMarkdown: toMarkdown
};