conquer/highlightjs Yii2 Highlightjs widget

extensionwidgethighlightjs

Highlightjs widget for Yii2 framework

Description

Syntax highlighting for the Web

For more information please visit Highlightjs Home Page

Installation

The preferred way to install this extension is through composer.

To install, either run

$ php composer.phar require conquer/highlightjs "*"

or add

"conquer/highlightjs": "*"

to the require section of your composer.json file.

Usage

use conquer\highlightjs\HighlightjsWidget;

<?= HighlightjsWidget::widget([
    'language' => 'xml',
    'content' => file_get_contents('some_xml_file.xml'),
]); ?>

License

conquer/highlightjs is released under the MIT License. See the bundled LICENSE.md for details.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.0.0 is the latest of one release



MIT license
Stats
0 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
182 total downloads