Github now supports Blade syntax highlighting
Thanks to James Brooks Github has just added support for Blade syntax highlighting on both your repos and Gists. This was added in from a pull request by James and then merged and deployed today. Here is an example of a sample Gist showing it in use: @extends('layouts.master') @section('content')
Testing
@if ($results->count() > 0) @foreach ($results as $item){{ $item->title }}
@endforeach @endif @endsection The highlighting should all happen automatically as long as you use the default .blade.php file extension.
Leave a comment