Sha256: 931a627697eb8eb8584d3360f609eade0806e31e61be0da03200816100929e9d
Contents?: true
Size: 773 Bytes
Versions: 2
Compression:
Stored size: 773 Bytes
Contents
module HighlighedTextHelpers def text <<-TEXT This is a code example: {% uv ruby %} def awesome puts "AWESOME" end {% enduv %} And other stuff. TEXT end def expected <<-TEXT This is a code example: <pre class="twilight"> <span class="Keyword">def</span> <span class="Entity">awesome</span> puts <span class="String"><span class="String">"</span>AWESOME<span class="String">"</span></span> <span class="Keyword">end</span> </pre> And other stuff. TEXT end def text_python <<-TEXT This is Python: {% uv python %} len(0) {% enduv %} TEXT end def expected_python <<-TEXT This is Python: <pre class="twilight"> <span class="SupportFunction">len</span>(<span class="Constant">0</span>) </pre> TEXT end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-ultraviolet-0.0.3 | spec/support/highlighting.rb |
jekyll-ultraviolet-0.0.2 | spec/support/highlighting.rb |