The plugin is available at Github as CakePHP-Markdown-Plugin.
A PHP Markdown helper packaged as a plugin, includes php-markdown.php.
If you are using composer, require
1 2 3 4 5 6 7 8
This will install the plugin into
Plugin/Markdown, and install Markdown lib (from Packagist) into
Config/bootstrap.php, import composer’s autoload file:
If you are not using composer, clone the repository:
In your controller:
In your view: