`` blocks. It can be instantiated just as any other widget in Dojo by using the dojoType:
.. code-block :: html
var foo = dojo.map([1,2,3,4,5], function(n){ return n % 2 });
Or by calling ``dojox.highlight.init(someNode)``.
.. code-block :: javascript
// attempt to highlight all blocks on a page:
dojo.query("code").forEach(dojox.highlight.init);
Highlight can also be used via the dojox.highlight.processString function
.. cv-compound::
.. cv:: css
.. cv:: javascript
.. cv:: html
Select a from b where a = 2;