s1lver/yii2-markdown-it

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.0.1) of this package.

Maintainers

Package info

github.com/s1lver/yii2-markdown-it

Language:JavaScript

Type:yii2-extension

pkg:composer/s1lver/yii2-markdown-it

Transparency log

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.1 2021-11-30 17:33 UTC

This package is auto-updated.

Last update: 2026-08-20 18:27:56 UTC


README

Minimalistic and customizable markdown editor for Yii2.

Install

composer require s1lver/yii2-markdown-it

Example

<?= MarkdownIt::widget([
    'name' => 'test',
    'buttons' => [
        [
            'label' => '',
            'options' => ['class' => 'btn btn-outline-primary fa fa-bold',],
            'buttonActions' => ['before' => '**', 'after' => '**'],
        ],
        [
            'label' => '',
            'options' => ['class' => 'btn btn-outline-primary fa fa-arrows-h',],
            'buttonActions' => ['before' => '<--', 'after' => '-->'],
        ]
    ]
]) ?>

Required