2017 © Pedro Peláez
 

yii2-extension yii2-highlightjs-widget

The highlightjs extension for the Yii framework

image

xutl/yii2-highlightjs-widget

The highlightjs extension for the Yii framework

  • Tuesday, August 22, 2017
  • by xutl
  • Repository
  • 0 Watchers
  • 0 Stars
  • 216 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

yii2-highlightjs-asset

Installation

The preferred way to install this extension is through composer., (*1)

Either run, (*2)

php composer.phar require --prefer-dist xutl/yii2-highlightjs-asset

or add, (*3)

"xutl/yii2-highlightjs-asset": "~1.0.0"

to the require section of your composer.json file., (*4)

Usage

use xutl\highlightjs\HighlightJsAsset;
HighlightJsAsset::register($this,'php');
$this->registerJs('hljs.initHighlightingOnLoad();');
use xutl\highlightjs\HighlightJs;

HighlightJs::begin([
    'format'=>$model->format
]);
echo Html::encode($model->content); ?>
HighlightJs::end()

The Versions

22/08 2017

dev-master

9999999-dev

The highlightjs extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xutl

yii2 highlightjs

06/06 2017

2.0.1

2.0.1.0

The highlightjs extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xutl

yii2 highlightjs

03/02 2017

2.0.0

2.0.0.0

The highlightjs extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xutl

yii2 highlightjs

03/02 2017

1.0.1

1.0.1.0

The highlightjs extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xutl

yii2 highlightjs

25/01 2017

1.0.0

1.0.0.0

The highlightjs extension for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar xutl

yii2 highlightjs