File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,9 @@ Expressions
367
367
Besides being used as an ordinary programming language, CoffeeScript may
368
368
also be written in "literate" mode. If you name your file with a
369
369
< tt > .litcoffee</ tt > extension, you can write it as a Markdown document —
370
- a document that also happens to be executable CoffeeScript code.
370
+ a document that also happens to be executable CoffeeScript code. The compiler
371
+ will treat any indented blocks (Markdown's way of indicating source code)
372
+ as code, and ignore the rest as comments.
371
373
</ p >
372
374
373
375
< p >
Original file line number Diff line number Diff line change 460
460
Besides being used as an ordinary programming language, CoffeeScript may
461
461
also be written in "literate" mode. If you name your file with a
462
462
< tt > .litcoffee</ tt > extension, you can write it as a Markdown document —
463
- a document that also happens to be executable CoffeeScript code.
463
+ a document that also happens to be executable CoffeeScript code. The compiler
464
+ will treat any indented blocks (Markdown's way of indicating source code)
465
+ as code, and ignore the rest as comments.
464
466
</ p >
465
467
466
468
< p >
You can’t perform that action at this time.
0 commit comments