mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
upgraded libs and improved Markdown editing experience
This commit is contained in:
parent
2e146cf767
commit
ea1a8000ee
165 changed files with 15930 additions and 19013 deletions
|
@ -43,11 +43,12 @@ CodeMirror.defineMode("commonlisp", function (config) {
|
|||
else { stream.skipToEnd(); return "error"; }
|
||||
} else if (ch == "#") {
|
||||
var ch = stream.next();
|
||||
if (ch == "[") { type = "open"; return "bracket"; }
|
||||
if (ch == "(") { type = "open"; return "bracket"; }
|
||||
else if (/[+\-=\.']/.test(ch)) return null;
|
||||
else if (/\d/.test(ch) && stream.match(/^\d*#/)) return null;
|
||||
else if (ch == "|") return (state.tokenize = inComment)(stream, state);
|
||||
else if (ch == ":") { readSym(stream); return "meta"; }
|
||||
else if (ch == "\\") { stream.next(); readSym(stream); return "string-2" }
|
||||
else return "error";
|
||||
} else {
|
||||
var name = readSym(stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue