remarkable -> markdown-it
This commit is contained in:
parent
136058b562
commit
30b74105dd
|
@ -6,10 +6,10 @@
|
|||
*/
|
||||
'use strict';
|
||||
|
||||
var Remarkable = require('remarkable');
|
||||
var Markdown = require('markdown-it');
|
||||
|
||||
function markdown2html(markdownString) {
|
||||
var md = new Remarkable();
|
||||
var md = new Markdown();
|
||||
|
||||
// the slice removes the <p>...</p> wrapper output by Markdown processor
|
||||
return md.render(markdownString.trim()).slice(3, -5);
|
||||
|
|
|
@ -57,8 +57,8 @@
|
|||
"grunt-saucelabs": "~8.5.0",
|
||||
"grunt-sed": "~0.1.1",
|
||||
"load-grunt-tasks": "~2.0.0",
|
||||
"markdown-it": "^3.0.4",
|
||||
"npm-shrinkwrap": "^200.0.0",
|
||||
"remarkable": "~1.6.0",
|
||||
"time-grunt": "~1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
|
|
Loading…
Reference in New Issue