Highlighter - Text Highlighting:

[Markup Plugin] To begin with, the lines you need to display code:
$var = 'Some <b>Text</b> as PHP Code';
$this->Highlighter->highlight($var, ['lang' => 'php']);

1. parameter: String to Print
2. parameter: Array with lang key: What kind of Code (PHP, SQL, CSS, JS etc)

The following examples are configured to use the `JsHighlighter`.

Some Examples - what you can do with it

div.paging {
    color: #ccc;
    margin-bottom: 2em;
div.paging div.disabled {
    color: #ddd;
    display: inline;
div.paging span {
function toggleMe(id) {
    var e=document.getElementById(id);
    if (!e)return true;
    if (e.style.display=="none") {
    } else {
    return true;
<u> Underline text</u>
<input type="text"/>
SELECT * FROM `telbuch_types`
WHERE `user_name` = 'testmensch'
ORDER BY userid ASC LIMIT 0 , 30 
         <first>Andreas F.</first>
# hello world

you can write text [with links](http://example.com) inline or [link references][1].

* one _thing_ has *em*phasis
* two __things__ are **bold**

[1]: http://example.com


hello world

<this_is inline="xml"></this_is>

> markdown is so cool

    so are code segments

1. one thing (yeah!)
2. two thing `i can write code`, and `more` wipee!

Dark Theme | More examples directly at highlightjs.org/static/demo

Send your feedback or bugreport!