2017 © Pedro Peláez
 

phile-plugin parsedown

Use the Parsedown parser in Phile.

image

phile/parsedown

Use the Parsedown parser in Phile.

  • Thursday, June 19, 2014
  • by NeoBlack
  • Repository
  • 2 Watchers
  • 1 Stars
  • 58 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

phileParserParsedown

Use the Parsedown parser in Phile., (*1)

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:, (*2)

$config['plugins']['phile\\parsedown'] = array('active' => true);`

Then add the Parsedown dependency to your composer.json file:, (*3)

{
  "require": {
    "erusev/parsedown": "*" // the parsedown parser
  }
}

Now run your composer install command as normal., (*4)

After you have installed the plugin. You need to add the following line to your config.php file:, (*5)

$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

The Versions

19/06 2014

dev-master

9999999-dev http://philecms.com

Use the Parsedown parser in Phile.

  Sources   Download

MIT

The Requires

 

cms content phile