Sha256: 4812cbdfcb4324db0d7d38571105bfa2dc728965508cf9e3a2f0f9e805a4810c
Contents?: true
Size: 580 Bytes
Versions: 16
Compression:
Stored size: 580 Bytes
Contents
// See http://pradador.com/code/lighterjs window.addEvent("domready", function() { // Syntax highlight using Fuel.js.js and default theme // <pre id="code" class="js">var myClass = new Class({})</pre> // Syntax highlight using Fuel.ruby.js and theme from Flame.twilight.js // <pre id="code" class="ruby:twilight">puts "hi"</pre> // Highlight all "pre" elements with "code" class //$$('pre.code').light({ altLines: 'hover' }); alert("X"); $$("pre.code").each(function(element) { console.log(element); new Lighter(element, { altLines: 'hover' }); }); })
Version data entries
16 entries across 16 versions & 1 rubygems