Download the PHP package evandotpro/edp-markdown without Composer
On this page you can find all versions of the php package evandotpro/edp-markdown. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download evandotpro/edp-markdown
More information about evandotpro/edp-markdown
Files in evandotpro/edp-markdown
Package edp-markdown
Short Description A minimalist ZF2 module for adding markdown support to Zend Framework 2 projects
License BSD-3-Clause
Homepage https://github.com/EvanDotPro/EdpMarkdown
Informations about the package edp-markdown
EdpMarkdown - ZF2 Markdown Module
Version 0.0.1 Created by Evan Coury
Introduction
This ZF2 module simply adds Markdown support to your project. It utilizes the PHP Markdown library written by Michel Fortin which is a PHP port of the original perl implementation by John Gruber.
Installation
To install EdpMarkdown, simply recursively clone this repository (git clone --recursive
) into your ZF2 modules directory and enable it in your
config/application.config.php
file. That's it!
Usage
With this module installed, using Markdown in your view scripts is easy:
NOTE: For security purposes, the output SHOULD be sanitized if the Markdown is from an untrusted source. (@padraic says so!) See the Markdown documentation on inline HTML to understand why this is necessary.
Configuration
TODO: Create simple way to toggle to the 'extra' parser.
License
EdpMarkdown is released under the New BSD license. See the included LICENSE file.
PHP Markdown is available under the New BSD or the GNU GPL v2.