2017 © Pedro Peláez
 

library edp-markdown

A minimalist ZF2 module for adding markdown support to Zend Framework 2 projects

image

evandotpro/edp-markdown

A minimalist ZF2 module for adding markdown support to Zend Framework 2 projects

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 10 Forks
  • 2 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

EdpMarkdown - ZF2 Markdown Module

Version 0.0.1 Created by Evan Coury, (*1)

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

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!, (*3)

Usage

With this module installed, using Markdown in your view scripts is easy:, (*4)

<?= $this->markdown('Hello, **this** is _Markdown_!'); ?>

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., (*5)

Configuration

TODO: Create simple way to toggle to the 'extra' parser., (*6)

License

EdpMarkdown is released under the New BSD license. See the included LICENSE file., (*7)

PHP Markdown is available under the New BSD or the GNU GPL v2., (*8)

The Versions

16/04 2014

dev-master

9999999-dev https://github.com/EvanDotPro/EdpMarkdown

A minimalist ZF2 module for adding markdown support to Zend Framework 2 projects

  Sources   Download

BSD-3-Clause

The Requires

 

markdown zendframework

16/04 2014

0.2.0

0.2.0.0 https://github.com/EvanDotPro/EdpMarkdown

A minimalist ZF2 module for adding markdown support to Zend Framework 2 projects

  Sources   Download

BSD-3-Clause

The Requires

 

markdown zendframework