Skip to content

Latest commit

 

History

History

codehighlight

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Code Highlighting

Config

After installiation in plugins system, you can change default config

    [
        'style' => 'github',
        'lang' => 'php'
    ];

Usage

All the blocks of text enclosed in the shortcode [code], will be highlighted. For example:

    [code] ... our text ... [/code]

or, if the language of highlighting is different from the by default php

    [code lang="html"] ... our text ... [/code]

Links