From e6f1ce6b4c85c898bc85d9979a055d3b86995ddc Mon Sep 17 00:00:00 2001
From: Yuki Izumi Taken from https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee Taken from https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee comment comment now with a... ... broken up ... ... nested block. Code must be separated from text by a blank line. The next line is part of the text and will not be executed.
- fail()Literate CoffeeScript Test
-
-
-
-
test "basic literate CoffeeScript parsing", ->
ok yes
-
test "broken up indentation", ->
-
do ->
-
ok yes
-
test "code blocks must be preceded by a blank line", ->
ok yes
-
Code in backticks is not parsed
and...
test "comments in indented blocks work", ->
do ->
do ->
@@ -49,18 +34,22 @@ Literate CoffeeScript Test
ok yes
-
Regular Markdown features, like links and unordered lists, are fine:
-I
Am
A
List
I
+Am
+A
+List
+Tabs work too:
-test "tabbed code", -> - ok yes
\ No newline at end of file +ok yes