mirror of
https://github.com/markedjs/marked
synced 2024-11-23 09:48:17 +00:00
fix eslint error and change commonmark to 0.x
This commit is contained in:
parent
be099c4fab
commit
0ec9fa90b6
@ -32,7 +32,7 @@ var block = {
|
||||
+ ')',
|
||||
def: /^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,
|
||||
table: noop,
|
||||
lheading: /^([^\n]+)\n {0,3}(=|-){2,} *(?:\n+|$)/,
|
||||
lheading: /^([^\n]+)\n {0,3}(=|-){2,} *(?:\n+|$)/,
|
||||
paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,
|
||||
text: /^[^\n]+/
|
||||
};
|
||||
|
@ -31,7 +31,7 @@
|
||||
"devDependencies": {
|
||||
"@markedjs/html-differ": "^2.0.1",
|
||||
"cheerio": "^1.0.0-rc.3",
|
||||
"commonmark": "^0.29.0",
|
||||
"commonmark": "0.x",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-config-standard": "^12.0.0",
|
||||
"eslint-plugin-import": "^2.17.2",
|
||||
|
Loading…
Reference in New Issue
Block a user