Package Data | |
---|---|
Maintainer Username: | purekid |
Maintainer Contact: | gc1108960@gmail.com (michael.gan) |
Package Create Date: | 2014-01-06 |
Package Last Update: | 2014-10-28 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-20 03:02:48 |
Package Statistics | |
---|---|
Total Downloads: | 21 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 5 |
Total Watchers: | 2 |
Total Forks: | 2 |
Total Open Issues: | 0 |
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.
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',
...
)
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');