Markdown Demo kartik\markdown\MarkdownEditor

Latest Stable Version Latest Unstable Version Total Downloads Monthly Downloads Daily Downloads
Thankful to Krajee!
to get more out of us.

NOTE: This extension depends on the kartik-v/yii2-krajee-base extension which in turn depends on the yiisoft/yii2-bootstrap extension. Check the composer.json for this extension's requirements and dependencies that may be updated by composer.


  • This is a demo of MarkdownEditor used within yii ActiveForm. You can check the client validation by setting the notes text to null. The Submit / Reset buttons for ActiveForm is provided for testing.

  • Click on Preview to see the HTML formatted output.

  • Click Export to export content as text or HTML.

  • Most toolbar buttons below support block formatting. You can select a block of text and click a button to apply formatting to the entire block.

  • Undo most actions by selecting the same block of text and clicking the button again.

  • Any embedded XSS/Javascripts will be purified and not be displayed for preview. If you need to display a code within script tags as text escape the > character like <script\>.