24/09
2014
Wallogit.com
2017 © Pedro Peláez
Based completely on https://github.com/Kindari/laravel-markdown/pull/2, (*1)
Add axxim/markdown-blade to composer.json., (*2)
"axxim/markdown-blade": dev-master"
Run composer update. Now open up app/config/app.php and add the service provider to your providers array, after the ViewServiceProvider., (*3)
'providers' => array(
...
'Illuminate\View\ViewServiceProvider',
'Axxim\MarkdownBlade\MarkdownBladeServiceProvider',
...
)
Create a view file named foobar.md.blade.php then use it like normal:, (*4)
return View::make('foobar');