PHPackages                             yii2mod/yii2-markdown - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yii2mod/yii2-markdown

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

yii2mod/yii2-markdown
=====================

Markdown Widget for Yii2

1.1(8y ago)1347.7k↓31.3%45MITPHP

Since Apr 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/yii2mod/yii2-markdown)[ Packagist](https://packagist.org/packages/yii2mod/yii2-markdown)[ RSS](/packages/yii2mod-yii2-markdown/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (5)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

Markdown Widget for Yii 2
=========================

[](#markdown-widget-for-yii-2)

Widget based on [SimpleMDE - Markdown Editor](https://simplemde.com/)

[![Latest Stable Version](https://camo.githubusercontent.com/45c8b4f8567225f8fa2c3f8b703ec39b41cd8b3b504378b0f3544182baebd656/68747470733a2f2f706f7365722e707567782e6f72672f796969326d6f642f796969322d6d61726b646f776e2f762f737461626c65)](https://packagist.org/packages/yii2mod/yii2-markdown)[![Total Downloads](https://camo.githubusercontent.com/3a6aabc189482acaecfb39985e7b7b105839df9ac777b22c5c0684e1d9a67e05/68747470733a2f2f706f7365722e707567782e6f72672f796969326d6f642f796969322d6d61726b646f776e2f646f776e6c6f616473)](https://packagist.org/packages/yii2mod/yii2-markdown)[![License](https://camo.githubusercontent.com/bd8c275ba191fff7e92901e477bf8609e8a9637ce778fd820c45c93bd0e93d3e/68747470733a2f2f706f7365722e707567782e6f72672f796969326d6f642f796969322d6d61726b646f776e2f6c6963656e7365)](https://packagist.org/packages/yii2mod/yii2-markdown)[![Build Status](https://camo.githubusercontent.com/42b7d6f1e356b74d69b27d0a68d9c41e5e2d8664d3e9439c94b64ac779f9fca1/68747470733a2f2f7472617669732d63692e6f72672f796969326d6f642f796969322d6d61726b646f776e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yii2mod/yii2-markdown)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist yii2mod/yii2-markdown "*"

```

or add

```
"yii2mod/yii2-markdown": "*"

```

to the require section of your composer.json.

Usage
-----

[](#usage)

Once the extension is installed, simply add widget to your page as follows:

1. Usage with ActiveForm and model

```
