Wrapper class for https://highlightjs.org/.

Class name

E.widget.highlight (0.2.0)

Methods

Method Parameters Returns Description Example
attr key, value this Add attribute key/value to component attr('id','myicon')
build string Build string of component markup build()
append jquery selector boolean Build and append string to DOM append('#mydiv')
block lang, string this Add block to highlight block('css',".foo { color: #4e4e4e; }")

Examples

Javascript
window.alert( "Hello world!" );
Last modified: 2016-02-05