Skip to content

Instantly share code, notes, and snippets.

@art-solopov
Last active August 29, 2015 14:15
Show Gist options
  • Save art-solopov/8d2db23c0ddfbb7ff7ca to your computer and use it in GitHub Desktop.
Save art-solopov/8d2db23c0ddfbb7ff7ca to your computer and use it in GitHub Desktop.
A test CodeRay-generated file
<html>
<head>
<body>
<div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span><span style="color:#080;font-weight:bold">def</span> <span style="color:#06B;font-weight:bold">hello</span>
<span class="line-numbers"><a href="#n2" name="n2">2</a></span> <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">World!</span><span style="color:#710">'</span></span>
<span class="line-numbers"><a href="#n3" name="n3">3</a></span><span style="color:#080;font-weight:bold">end</span>
</pre></div>
</div>
</div>
<p>This is another text paragraph.</p>
<div class="highlighter-coderay"><div class="CodeRay">
<div class="code"><pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span>[ i**<span style="color:#00D">2</span> <span style="color:#080;font-weight:bold">for</span> i <span style="color:#080;font-weight:bold">in</span> <span style="color:#369;font-weight:bold">xrange</span>(<span style="color:#00D">200</span>) <span style="color:#080;font-weight:bold">if</span> (i - <span style="color:#00D">1</span>) * (i + <span style="color:#00D">1</span>) &gt;= <span style="color:#00D">10</span> ]
</pre></div>
</div>
</div>
<body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment