Browse Source

syntax highlighting: take 2.

Taylor Otwell 12 years ago
parent
commit
833b6ba881
1 changed files with 6 additions and 0 deletions
  1. 6 0
      readme.md

+ 6 - 0
readme.md

@@ -16,18 +16,24 @@ Stay true to the web with RESTful routing:
 Redirect to a named route and flash something to the session:
 
 ```php
+<?php
+
 return Redirect::to_profile()->with('message', 'Welcome Back!');
 ```
 
 Retrieve a blog post and eagerly load the comments using Eloquent ORM:
 
 ```php
+<?php
+
 $posts = Post::with('comments')->find(1);
 ```
 
 Get input from the previous request to re-populate a form:
 
 ```php
+<?php
+
 echo Input::old('email');
 ```