Readme: pre to code

This commit is contained in:
DBA
2010-08-24 08:17:42 +08:00
committed by Tobias Lütke
parent 90d1bc26d8
commit 772233d881
+11 -11
View File
@@ -18,18 +18,18 @@ Liquid is a template engine which I wrote for very specific requirements
## What does it look like? ## What does it look like?
<pre> <code>
<ul id="products"> <ul id="products">
{% for product in products %} {% for product in products %}
<li> <li>
<h2>{{product.name}}</h2> <h2>{{product.name}}</h2>
Only {{product.price | price }} Only {{product.price | price }}
{{product.description | prettyprint | paragraph }} {{product.description | prettyprint | paragraph }}
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</pre> </code>
## Howto use Liquid ## Howto use Liquid