mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09: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
|
@ -56,7 +56,7 @@ CodeMirror.defineMode("haskell", function(_config, modeConfig) {
|
|||
if (source.eat('\'')) {
|
||||
return "string";
|
||||
}
|
||||
return "error";
|
||||
return "string error";
|
||||
}
|
||||
|
||||
if (ch == '"') {
|
||||
|
@ -166,7 +166,7 @@ CodeMirror.defineMode("haskell", function(_config, modeConfig) {
|
|||
}
|
||||
}
|
||||
setState(normal);
|
||||
return "error";
|
||||
return "string error";
|
||||
}
|
||||
|
||||
function stringGap(source, setState) {
|
||||
|
@ -194,7 +194,7 @@ CodeMirror.defineMode("haskell", function(_config, modeConfig) {
|
|||
"module", "newtype", "of", "then", "type", "where", "_");
|
||||
|
||||
setType("keyword")(
|
||||
"\.\.", ":", "::", "=", "\\", "\"", "<-", "->", "@", "~", "=>");
|
||||
"\.\.", ":", "::", "=", "\\", "<-", "->", "@", "~", "=>");
|
||||
|
||||
setType("builtin")(
|
||||
"!!", "$!", "$", "&&", "+", "++", "-", ".", "/", "/=", "<", "<=", "=<<",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue