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:
@@ -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
|
||||
|
@@ -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';
|
||||
|
||||
|
Reference in New Issue
Block a user