Skip to content

Commit f2e077b

Browse files
kevinsawickimarijnh
authored andcommitted
Specify markdown as dependency of gfm mode
This ensures that markdown.js is loaded when gfm mode is loaded using CodeMirror.autoLoadMode
1 parent 534f439 commit f2e077b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/gfm/gfm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ CodeMirror.defineMode("gfm", function(config, parserConfig) {
9191
fencedCodeBlocks: true
9292
});
9393
return CodeMirror.overlayMode(CodeMirror.getMode(config, "gfmBase"), gfmOverlay);
94-
});
94+
}, "markdown");

0 commit comments

Comments
 (0)