Kindari/laravel-markdown — pull request #2 by lsjroberts (2013-09-13 01:06:46+00:00)
Title: Allows md.blade.php views to extend blade.php views

This fixes #1 to allowing mixing `md.blade.php` and `blade.php` views.

The parser transform has been moved to a `BladeMarkdownCompiler` which extends `BladeCompiler`. This overwrites the `compileSectionStart()` method to allow the content within a section to be transformed from markdown before converted from blade to php.

This allows:

```
// foo.md.blade.php
@extends('layout')

@section('content')
# FooBar
@stop
```

```
// layout.blade.php

@yield('content')