all repos — markup @ 0930507e9c30958cdfe36458343c50e13ebf5a66

The code we use to render README.your_favorite_markup

alter test markup/rendered-html files to match better
Coby Chapple coby@cobychapple.com
Fri, 07 Jun 2013 11:43:40 +0100
commit

0930507e9c30958cdfe36458343c50e13ebf5a66

parent

425f4aa10e53461773a715b4e6681421cd415dfe

2 files changed, 33 insertions(+), 24 deletions(-)

jump to
M test/markups/README.litcoffeetest/markups/README.litcoffee

@@ -42,8 +42,8 @@ ###

ok yes -Regular [Markdown](http://example.com/markdown) features, like links -and unordered lists, are fine: +Regular [Markdown](http://example.com/markdown) features, +like links and unordered lists, are fine: * I
M test/markups/README.litcoffee.htmltest/markups/README.litcoffee.html

@@ -1,4 +1,4 @@

-<h2 id='literate_coffeescript_test'>Literate CoffeeScript Test</h2> +<h2>Literate CoffeeScript Test</h2> <blockquote> <p>Taken from https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee</p>

@@ -7,29 +7,36 @@

<p>comment comment</p> <pre><code>test &quot;basic literate CoffeeScript parsing&quot;, -&gt; - ok yes</code></pre> + ok yes +</code></pre> -<p>now with a&#8230;</p> +<p>now with a...</p> -<pre><code>test &quot;broken up indentation&quot;, -&gt;</code></pre> +<pre><code>test &quot;broken up indentation&quot;, -&gt; +</code></pre> -<p>&#8230; broken up &#8230;</p> +<p>... broken up ...</p> -<pre><code> do -&gt;</code></pre> +<pre><code> do -&gt; +</code></pre> -<p>&#8230; nested block.</p> +<p>... nested block.</p> -<pre><code> ok yes</code></pre> +<pre><code> ok yes +</code></pre> <p>Code must be separated from text by a blank line.</p> -<pre><code>test &quot;code blocks must be preceded by a blank line&quot;, -&gt;</code></pre> +<pre><code>test &quot;code blocks must be preceded by a blank line&quot;, -&gt; +</code></pre> -<p>The next line is part of the text and will not be executed. fail()</p> +<p>The next line is part of the text and will not be executed. + fail()</p> -<pre><code> ok yes</code></pre> +<pre><code> ok yes +</code></pre> -<p>Code in <code>backticks is not parsed</code> and&#8230;</p> +<p>Code in <code>backticks is not parsed</code> and...</p> <pre><code>test &quot;comments in indented blocks work&quot;, -&gt; do -&gt;

@@ -40,18 +47,20 @@ ###

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> - -<p>* I</p> - -<p>* Am</p> + ok yes +</code></pre> -<p>* A</p> +<p>Regular <a href="http://example.com/markdown">Markdown</a> features, +like links and unordered lists, are fine:</p> -<p>* List</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 &#8220;tabbed code&#8221;, -&gt; ok yes</p> +<p>test &quot;tabbed code&quot;, -&gt; + ok yes</p>