1. Benjamin Lupton
  2. beautyOfCode

Wiki

Clone wiki

beautyOfCode / Home

Welcome

  • Added minified version using google closure
  • To use in your page use:
<script type="text/javascript">/*<![CDATA[*/
	$.beautyOfCode.init({
		defaults: { gutter: true },
		brushes: ["Xml", "JScript", "Css"]
	}); 
/*]]>*/</script>  
  • Then insert your code block like so:
<code class="code language-html">
	&lt;script type="text/javascript"&gt;
		$('.gallery').lightbox();
	&lt;/script&gt;
</code>

Updated