CodeMirror.commands.newlineAndIndentContinueMarkdownList=function(e){var n,t=e.getCursor(),r=e.getTokenAt(t);if("string"==r.className){var i,a=e.getRange({line:t.line,ch:0},{line:t.line,ch:r.end});if(0==r.string.search(/\*|\d+\./)){var s=/^[\W]*(\d+)\./g.exec(a);if(i=s?parseInt(s[1])+1+".  ":"*   ",n=a.slice(0,r.start),!/^\s*$/.test(n)){n="";for(var d=0;d<r.start;++d)n+=" "}}}null!=n?e.replaceSelection("\n"+n+i,"end"):e.execCommand("newlineAndIndent")};