<s:code>

Formats the innter HTML as source code via the Prism Javascript library. Default language is PHP.

Example HTML

<s:code>

class MyClass {

/**
 * Some method
 */
public function someMethod(string $name, string $email):int
{
    return 5;
}

} </s:code>

Example Output




class MyClass
{

    /**
     * Some method
     */
    public function someMethod(string $name, string $email):int
    {
        return 5;
    }

}