mirror of
https://github.com/Shopify/liquid.git
synced 2025-08-25 00:00:16 -04:00
Readme: pre to code
This commit is contained in:
parent
90d1bc26d8
commit
772233d881
22
README.md
22
README.md
@ -18,18 +18,18 @@ Liquid is a template engine which I wrote for very specific requirements
|
||||
|
||||
## What does it look like?
|
||||
|
||||
<pre>
|
||||
<ul id="products">
|
||||
{% for product in products %}
|
||||
<li>
|
||||
<h2>{{product.name}}</h2>
|
||||
Only {{product.price | price }}
|
||||
<code>
|
||||
<ul id="products">
|
||||
{% for product in products %}
|
||||
<li>
|
||||
<h2>{{product.name}}</h2>
|
||||
Only {{product.price | price }}
|
||||
|
||||
{{product.description | prettyprint | paragraph }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</pre>
|
||||
{{product.description | prettyprint | paragraph }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</code>
|
||||
|
||||
## Howto use Liquid
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user