18 lines
372 B
Plaintext
18 lines
372 B
Plaintext
|
doctype html
|
||
|
html
|
||
|
body
|
||
|
h1 Markup examples
|
||
|
#content
|
||
|
p
|
||
|
| Slim can have #{ruby_code} interpolated!
|
||
|
/[if IE]
|
||
|
javascript:
|
||
|
alert('Slim supports embedded javascript!')
|
||
|
|
||
|
- unless items.empty?
|
||
|
table
|
||
|
- for item in items do
|
||
|
tr
|
||
|
td.name = item.name
|
||
|
td.price = item.price
|