rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/slim

18 lines
372 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
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