phile / parsedown
Use the Parsedown parser in Phile.
Installs: 65
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Type:phile-plugin
Requires
This package is auto-updated.
Last update: 2024-10-29 03:58:37 UTC
README
Use the Parsedown parser in Phile.
1.1 Installation (composer)
php composer.phar require phile/parsedown:*
1.2 Installation (Download)
- Install the latest version of Phile
- Clone or download this repo into
plugins/phile/parsedown
2. Activation
After you have installed the plugin. You need to add the following line to your config.php
file:
$config['plugins']['phile\\parsedown'] = array('active' => true);`
Then add the Parsedown dependency to your composer.json file:
{ "require": { "erusev/parsedown": "*" // the parsedown parser } }
Now run your composer install
command as normal.
After you have installed the plugin. You need to add the following line to your config.php
file:
$config['plugins'] = array( 'phile\\parserMarkdown' => array('active' => false), // disable the default parser 'phile\\parsedown' => array('active' => true) // use parsedown );
Why use this over Markdown?
- Speed
- Consistency
- Github flavoured by default
- Tested in PHP 5.2, 5.3, 5.4 and 5.5
- Friendly to international input
Why not use it?
- No table support
- Lack of settings and extensions