Skip to content

purekid/laravel-markdown-extra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Laravel Markdown Extra

This project is copied from https://github.com/Kindari/laravel-markdown , add support for markdown extra , such as 'table' syntax.

Laravel Markdown is a wrapper of dflydev/markdown which integrates it into Laravel's View engine. It supports markdown parsing, php preprocessing of markdown files, and blade preprocessing.

Installation

Add purekid/laravel-markdown-extra to composer.json.

"purekid/laravel-markdown-extra": "dev-master"

Run composer update to pull down the latest version of Laravel Markdown. Now open up app/config/app.php and add the service provider to your providers array, after the ViewServiceProvider.

'providers' => array(
	...
		'Illuminate\View\ViewServiceProvider',
		'Purekid\LaravelMarkdownExtra\MarkdownServiceProvider',
	...
)

Usage

Support *.md , *.md.php , *.md.blade.php

Create a view file named foobar.md, foobar.md.php or foobar.md.blade.php then use it like normal:

return View::make('foobar');

About

Extra Markdown View Engine for Laravel 4 View system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages