Skip to content

Commit b74c853

Browse files
committed
Mention null mode in docs for mode option
Closes codemirror#6034
1 parent 56258ce commit b74c853

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/manual.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,10 @@ <h2>Configuration</h2>
223223
first mode that was loaded. It may be a string, which either
224224
simply names the mode or is
225225
a <a href="http://en.wikipedia.org/wiki/MIME">MIME</a> type
226-
associated with the mode. Alternatively, it may be an object
227-
containing configuration options for the mode, with
228-
a <code>name</code> property that names the mode (for
226+
associated with the mode. The value <code>"null"</code>
227+
indicates no highlighting should be applied. Alternatively, it
228+
may be an object containing configuration options for the mode,
229+
with a <code>name</code> property that names the mode (for
229230
example <code>{name: "javascript", json: true}</code>). The demo
230231
pages for each mode contain information about what configuration
231232
parameters the mode supports. You can ask CodeMirror which modes

0 commit comments

Comments
 (0)