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
|
Monstra 3.0.2, 2015-10-16
|
||||||
------------------------
|
------------------------
|
||||||
- Added Monstra MIT LICENSE instead of GNU GENERAL PUBLIC LICENSE v3
|
- Added Monstra MIT LICENSE instead of GNU GENERAL PUBLIC LICENSE v3
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Markdown plugin
|
* Markdown plugin with Parsedown parser
|
||||||
*
|
*
|
||||||
* @package Monstra
|
* @package Monstra
|
||||||
* @subpackage Plugins
|
* @subpackage Plugins
|
||||||
@@ -12,17 +12,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Register plugin
|
// Register plugin
|
||||||
Plugin::register( __FILE__,
|
Plugin::register(__FILE__,
|
||||||
__('Markdown'),
|
__('Markdown'),
|
||||||
__('Markdown markup language plugin for Monstra'),
|
__('Markdown markup language plugin for Monstra'),
|
||||||
'1.0.0',
|
'1.0.0',
|
||||||
'Awilum',
|
'Awilum',
|
||||||
'http://monstra.org/');
|
'http://monstra.org/');
|
||||||
|
|
||||||
// Uncomment code below to use Markdown on Site Content
|
// Uncomment code below to use Markdown on Site Content
|
||||||
Filter::add('content', 'markdown', 1);
|
Filter::add('content', 'markdown', 1);
|
||||||
|
|
||||||
use \Michelf\MarkdownExtra;
|
use \Michelf\MarkdownExtra;
|
||||||
|
|
||||||
include PLUGINS . '/markdown/php-markdown/Michelf/Markdown.php';
|
include PLUGINS . '/markdown/php-markdown/Michelf/Markdown.php';
|
||||||
include PLUGINS . '/markdown/php-markdown/Michelf/MarkdownExtra.php';
|
include PLUGINS . '/markdown/php-markdown/Michelf/MarkdownExtra.php';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user