(name)
| 5 | var config = {tabSize: 4, indentUnit: 2} |
| 6 | var mode = CodeMirror.getMode(config, "markdown"); |
| 7 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } |
| 8 | var modeHighlightFormatting = CodeMirror.getMode(config, {name: "markdown", highlightFormatting: true}); |
| 9 | function FT(name) { test.mode(name, modeHighlightFormatting, Array.prototype.slice.call(arguments, 1)); } |
| 10 | var modeMT_noXml = CodeMirror.getMode(config, {name: "markdown", xml: false}); |