Sha256: 446a2a36aab3d6f2e37fbbf4a0daab1932d314532a012a894c52459f46c50cc9

Contents?: true

Size: 955 Bytes

Versions: 57

Compression:

Stored size: 955 Bytes

Contents

Literate CoffeeScript Test
--------------------------

> Taken from https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee

comment comment

    test "basic literate CoffeeScript parsing", ->
      ok yes

now with a...

    test "broken up indentation", ->

... broken up ...

      do ->

... nested block.

        ok yes

Code must be separated from text by a blank line.

    test "code blocks must be preceded by a blank line", ->

The next line is part of the text and will not be executed.
      fail()

      ok yes

Code in `backticks is not parsed` and...

    test "comments in indented blocks work", ->
      do ->
        do ->
          # Regular comment.

          ###
            Block comment.
          ###

          ok yes

Regular [Markdown](http://example.com/markdown) features,
like links and unordered lists, are fine:

  * I

  * Am

  * A

  * List

Tabs work too:

  test "tabbed code", ->
    ok yes

Version data entries

57 entries across 57 versions & 3 rubygems

Version Path
gitlab-markup-2.0.0 test/markups/README.litcoffee
gitlab-markup-1.10.0 test/markups/README.litcoffee
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/github-markup-5.0.1/test/markups/README.litcoffee
github-markup-5.0.1 test/markups/README.litcoffee
github-markup-5.0.0 test/markups/README.litcoffee
github-markup-4.0.2 test/markups/README.litcoffee
gitlab-markup-1.9.0 test/markups/README.litcoffee
gitlab-markup-1.8.1 test/markups/README.litcoffee
github-markup-4.0.1 test/markups/README.litcoffee
gitlab-markup-1.8.0 test/markups/README.litcoffee
github-markup-4.0.0 test/markups/README.litcoffee
github-markup-3.0.5 test/markups/README.litcoffee
gitlab-markup-1.7.1 test/markups/README.litcoffee
github-markup-3.0.4 test/markups/README.litcoffee
gitlab-markup-1.7.0 test/markups/README.litcoffee
github-markup-3.0.3 test/markups/README.litcoffee
github-markup-3.0.2 test/markups/README.litcoffee
gitlab-markup-1.6.5 test/markups/README.litcoffee
github-markup-3.0.1 test/markups/README.litcoffee
github-markup-3.0.0 test/markups/README.litcoffee