We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e0426 commit c6c7928Copy full SHA for c6c7928
addon/edit/continuelist.js
@@ -11,8 +11,8 @@
11
})(function(CodeMirror) {
12
"use strict";
13
14
- var listRE = /^(\s*)(>[> ]*|[*+-]\s|(\d+)([.)]))(\s*)/,
15
- emptyListRE = /^(\s*)(>[> ]*|[*+-]|(\d+)[.)])(\s*)$/,
+ var listRE = /^(\s*)(>[> ]*|[*+-]\s|(\d+)([.)]))(\[\s\]\s|\[x\]\s|\s*)/,
+ emptyListRE = /^(\s*)(>[> ]*|[*+-]\s|(\d+)[.)])(\[\s\]\s*|\[x\]\s|\s*)$/,
16
unorderedListRE = /[*+-]\s/;
17
18
CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) {
0 commit comments