The following example shows how to syntax highligh some snippet of code in a very minimalistic way.
I used it by symlinking to a file in the version control repo and name it in as the argument of
$('#code-area').load() and here it is:  code higlighted with minimal javascript Metacircular code highlightingThe following code is an highlighted version of this very page usingSyntaxHighlighter.You need a decent modern browser to enjoy it.$('#code-area').load("https://pastebin.com/raw.php?i=LP5RTiPx",function(){SyntaxHighlighter.autoloader('html  https://alexgorbatchev.com/pub/sh/current/3.0.83/scripts/shBrushXml.js'),SyntaxHighlighter.all()})
Posted on:
April 18, 2012
Length: