From 39174ccee664981a0ab3f340b468cbcf3572ab6d Mon Sep 17 00:00:00 2001 From: Richard Metzler Date: Sun, 19 Jun 2011 03:49:37 -0700 Subject: [PATCH] code blocks in github flavored markdown --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8480a29..41b8afa 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Liquid is a template engine which I wrote for very specific requirements ## What does it look like? - +``` - +``` ## Howto use Liquid Liquid supports a very simple API based around the Liquid::Template class. For standard use you can just pass it the content of a file and call render with a parameters hash. -
+```ruby
 @template = Liquid::Template.parse("hi {{name}}") # Parses and compiles the template
 @template.render( 'name' => 'tobi' )              # => "hi tobi"
-
\ No newline at end of file +``` \ No newline at end of file