Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 570 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 570 Bytes

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