Download the PHP package lablog/markdown without Composer
On this page you can find all versions of the php package lablog/markdown. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lablog/markdown
More information about lablog/markdown
Files in lablog/markdown
Package markdown
Short Description Markdown processer filter for twig templating engine. Also includes laravel service provider to link to Lablog.
License
Informations about the package markdown
NO LONGER MAINTAINED! Try the following instead: https://github.com/jralph/Twig-Markdown
Markdown Twig Filter for LaBlog
A simple plugin for LaBLog (Also works stand-alone with the twig template engine.).
Navigation
- Installation
- Laravel & LaBlog Use
- Stand-Alone Twig Use
- Template Filter Use
Installation
Installation is done via composer packages.
To install, simply add the following to your composer.json
file.
Laravel & LaBlog Usage
To use the markdown processor with Laravel 4 and LaBlog, just add the service provider to your app/config/app.php
providers list.
Note: The provider must be added after the Laravel 4 Twig Bridge provider. Note2: If you have LaBlog up and running, you will have already added the Twig Bridge provider.
Using with Stand-alone Twig
To use the markdown processor with a stand-along, non-laravel bridged twig, just add the following to your twig extensions.
Note: This has not been tested!
General Usage in Templates
To use the markdown filter in a template, simply markdown
as a filter to the string you want to process.
All versions of markdown with dependencies
illuminate/support Version 4.1.*
twig/twig Version 1.*
michelf/php-markdown Version 1.4.*