1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

Use Parsedown Parser #370

This commit is contained in:
Awilum
2015-11-07 01:41:19 +03:00
parent 1aa2664046
commit 5b41adfd28
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
Monstra 3.0.3, 2015-11-XX
------------------------
- Improved Monstra Security
- Added Parsedown Parser
- Minimum PHP version for Monstra is 5.3.2
Monstra 3.0.2, 2015-10-16
------------------------
- Added Monstra MIT LICENSE instead of GNU GENERAL PUBLIC LICENSE v3

View File

@@ -1,7 +1,7 @@
<?php
/**
* Markdown plugin
* Markdown plugin with Parsedown parser
*
* @package Monstra
* @subpackage Plugins
@@ -12,7 +12,7 @@
*/
// Register plugin
Plugin::register( __FILE__,
Plugin::register(__FILE__,
__('Markdown'),
__('Markdown markup language plugin for Monstra'),
'1.0.0',
@@ -23,6 +23,7 @@ Plugin::register( __FILE__,
Filter::add('content', 'markdown', 1);
use \Michelf\MarkdownExtra;
include PLUGINS . '/markdown/php-markdown/Michelf/Markdown.php';
include PLUGINS . '/markdown/php-markdown/Michelf/MarkdownExtra.php';