Skip to content

Commit

Permalink
expanding literate explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Feb 25, 2013
1 parent d2f4009 commit c39723c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion documentation/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,9 @@ Expressions
Besides being used as an ordinary programming language, CoffeeScript may
also be written in "literate" mode. If you name your file with a
<tt>.litcoffee</tt> extension, you can write it as a Markdown document &mdash;
a document that also happens to be executable CoffeeScript code.
a document that also happens to be executable CoffeeScript code. The compiler
will treat any indented blocks (Markdown's way of indicating source code)
as code, and ignore the rest as comments.
</p>

<p>
Expand Down
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,9 @@ <h2>
Besides being used as an ordinary programming language, CoffeeScript may
also be written in "literate" mode. If you name your file with a
<tt>.litcoffee</tt> extension, you can write it as a Markdown document &mdash;
a document that also happens to be executable CoffeeScript code.
a document that also happens to be executable CoffeeScript code. The compiler
will treat any indented blocks (Markdown's way of indicating source code)
as code, and ignore the rest as comments.
</p>

<p>
Expand Down

0 comments on commit c39723c

Please sign in to comment.