Sha256: da1f4dbcc0b81ca2bede8445ac3d99a2df5fb5bea4db537df258d74a1adae91a

Contents?: true

Size: 1.29 KB

Versions: 18

Compression:

Stored size: 1.29 KB

Contents

<h2>Literate CoffeeScript Test</h2>
<blockquote>
<p>Taken from <a href="https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee">https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee</a></p>
</blockquote>
<p>comment comment</p>
<pre><code>test "basic literate CoffeeScript parsing", -&gt;
  ok yes
</code></pre>
<p>now with a...</p>
<pre><code>test "broken up indentation", -&gt;
</code></pre>
<p>... broken up ...</p>
<pre><code>  do -&gt;
</code></pre>
<p>... nested block.</p>
<pre><code>    ok yes
</code></pre>
<p>Code must be separated from text by a blank line.</p>
<pre><code>test "code blocks must be preceded by a blank line", -&gt;
</code></pre>
<p>The next line is part of the text and will not be executed.
fail()</p>
<pre><code>  ok yes
</code></pre>
<p>Code in <code>backticks is not parsed</code> and...</p>
<pre><code>test "comments in indented blocks work", -&gt;
  do -&gt;
    do -&gt;
      # Regular comment.

      ###
        Block comment.
      ###

      ok yes
</code></pre>
<p>Regular <a href="http://example.com/markdown">Markdown</a> features,
like links and unordered lists, are fine:</p>
<ul>
<li>
<p>I</p>
</li>
<li>
<p>Am</p>
</li>
<li>
<p>A</p>
</li>
<li>
<p>List</p>
</li>
</ul>
<p>Tabs work too:</p>
<p>test "tabbed code", -&gt;
ok yes</p>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
github-markup-4.0.2 test/markups/README.litcoffee.html
github-markup-4.0.1 test/markups/README.litcoffee.html
github-markup-4.0.0 test/markups/README.litcoffee.html
github-markup-3.0.5 test/markups/README.litcoffee.html
github-markup-3.0.4 test/markups/README.litcoffee.html
github-markup-3.0.3 test/markups/README.litcoffee.html
github-markup-3.0.2 test/markups/README.litcoffee.html
github-markup-3.0.1 test/markups/README.litcoffee.html
github-markup-3.0.0 test/markups/README.litcoffee.html
github-markup-2.0.1 test/markups/README.litcoffee.html
github-markup-2.0.0 test/markups/README.litcoffee.html
github-markup-1.7.0 test/markups/README.litcoffee.html
github-markup-1.6.2 test/markups/README.litcoffee.html
github-markup-1.6.1 test/markups/README.litcoffee.html
github-markup-1.6.0 test/markups/README.litcoffee.html
github-markup-1.5.0 test/markups/README.litcoffee.html
github-markup-1.4.9 test/markups/README.litcoffee.html
github-markup-1.4.8 test/markups/README.litcoffee.html