Code syntax highlight element.
Using npm:
$ npm install syntax-highlight
Using bower:
$ bower install syntax-highlight
Import syntax-highlight.html
.
<link rel='import' href='syntax-highlight.html'>
Put <syntax-highlight>
tag including code.
<syntax-highlight><script>
var foo = 'Hello!';
</script>
</syntax-highlight>
<syntax-highlight>
behave such like <pre>
.
Specify the code language.
http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html
Select highlight theme.