Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clone1018/markdown-blade

Markdown compiler for Blade
https://github.com/clone1018/markdown-blade

Last synced: about 1 month ago
JSON representation

Markdown compiler for Blade

Awesome Lists containing this project

README

        

# Markdown Blade Parser
Based completely on https://github.com/Kindari/laravel-markdown/pull/2

## Installation

Add `axxim/markdown-blade` to `composer.json`.

"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.

'providers' => array(
...
'Illuminate\View\ViewServiceProvider',
'Axxim\MarkdownBlade\MarkdownBladeServiceProvider',
...
)

## Usage

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

return View::make('foobar');