Giter Site home page Giter Site logo

phileparserparsedown's Introduction

phileParserParsedown

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

phileparserparsedown's People

Contributors

james2doyle avatar neoblack avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

phileparserparsedown's Issues

Installing witout Composer

Please indicates in doc how to install without Composer, without access to the composer install command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.