Add support for org-mode in th code app
This commit is contained in:
@@ -146,6 +146,7 @@ define([
|
||||
|
||||
var setMode = exp.setMode = function (mode, cb) {
|
||||
exp.highlightMode = mode;
|
||||
if (mode === 'markdown') { mode = 'gfm'; }
|
||||
if (mode !== "text") {
|
||||
CMeditor.autoLoadMode(editor, mode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user