PHPackages                             hector68/yii2-grafikart-markdown-editor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. hector68/yii2-grafikart-markdown-editor

ActiveYii2-extension[Parsing &amp; Serialization](/categories/parsing)

hector68/yii2-grafikart-markdown-editor
=======================================

Markdown editor with opportunity to uploading images

v0.2(10y ago)1382[1 issues](https://github.com/Hector68/yii2-grafikart-markdown-editor/issues)MITJavaScriptPHP &gt;=5.5.0

Since Feb 5Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Hector68/yii2-grafikart-markdown-editor)[ Packagist](https://packagist.org/packages/hector68/yii2-grafikart-markdown-editor)[ RSS](/packages/hector68-yii2-grafikart-markdown-editor/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (3)Used By (0)

MARKDOWN EDITOR
===============

[](#markdown-editor)

### base on  js widget

[](#base-on-httpsgithubcomgrafikartjs-markdown-editor-js-widget)

About Markdown:

- [English](https://en.wikipedia.org/wiki/Markdown)
- [Russian](https://ru.wikipedia.org/wiki/Markdown)

Installation
------------

[](#installation)

```
php composer.phar require --prefer-dist hector68/yii2-grafikart-markdown-editor

```

or add

```
"hector68/yii2-grafikart-markdown-editor" : "^0.1"

```

o the require section of your composer.json file.

if need upload images on server when include module to your config

```
    'modules' => [
        'markdown-editor' => [
            'class' => 'Hector68\GrafikartMarkdownEditor\Module',
            'uploadDir' => '@webroot/images/markdown',
            'isFileNameUnique' => true, //set unique name or use base name,
            'maxSize' => 2097152, // in bites, Default 2mb
            'expansions' => ['jpg', 'png']
        ],
    ],
    ...
```

Form
----

[](#form)

```
