Facelift and... wait for it... CODE HIGHLIGHTING!!!
I'm sure you've noticed that I've been working on the site and there are a few changes I'd like to point out.
First - thanks to Suraj for sending over their "Jadu Community" icon which I've promoted and adopted as the site's Logo. I hope having their (Jadu's) image doesn't communicate that this site is run and maintained by them. Leave comments if you think this could be interpreted that way.
Along those lines, I've changed the overall colors of the site to better match and fit in with the new logo. Some little colors will change over time as I find elements that feel out of place.
Another important announcement is that all posts now support code highlighting. I've implemented hightlight.js into the site, so simply type/paste in your code, select it all then choose the "pre" from the Font Format options. Highlight.js will try to determine what language it is and will apply an awesome color highlighting to it to make it more pleasing.
One thing to know is that when you mark something as pre initially - nothing happens. It gets applied when you preview.
Here's example code from highlight.js's website -
private $var;
/**
* Returns a URI
*
* @return URI*/
static public function _factory($stats = array(), $uri = 'http') { echo __METHOD__; $uri = explode(':', $uri, 0b10); $schemeSpecific = isset($uri[1]) ? $uri[1] : ''; $desc = 'Multiline description';
// Security check if (!ctype_alnum($scheme)) { throw new Zend_Uri_Exception('Illegal scheme');}
$this->var = 0 - self::$st; $this->list = list(Array("1"=> 2, 2=>self::ME));
return [ 'uri' => $uri, 'value' => null,];
}
}
pretty cool, right?
