Skip to content

Commit

Permalink
Small updates to manual
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed May 11, 2012
1 parent 1de8161 commit 6e3fb19
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions doc/manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ <h2 id="overview">Overview</h2>

<p>CodeMirror works with language-specific modes. Modes are
JavaScript programs that help color (and optionally indent) text
written in a given language. The distribution comes with a few
modes (see the <code>mode/</code> directory), and it isn't hard
written in a given language. The distribution comes with a number
of modes (see the <code>mode/</code> directory), and it isn't hard
to <a href="#modeapi">write new ones</a> for other languages.</p>

<h2 id="usage">Basic Usage</h2>
Expand Down Expand Up @@ -912,8 +912,7 @@ <h2 id="modeapi">Writing CodeMirror Modes</h2>
style string, or <code>null</code> for tokens that do not have to
be styled. For your styles, you can either use the 'standard' ones
defined in the themes (without the <code>cm-</code> prefix), or
define your own (as the <a href="../mode/diff/index.html">diff</a>
mode does) and have people include a custom CSS file for your
define your own and have people include a custom CSS file for your
mode.<p>

<p id="StringStream">The stream object encapsulates a line of code
Expand Down

0 comments on commit 6e3fb19

Please sign in to comment.