Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- / just write your markup as css selector rules, the default tag is div
- #html-id.html-class
- / nest things by indenting, never have to worry about closing tags again
- / specify tag name with %
- %ul
- %li.selected= "If you use an equal sign at the end of a tag, you can embed code"
- - 3.times do |i|
- %li= "If you use a - sign it won't output the result of that particular code, useful for control structures like loops ifs etc"
Add Comment
Please, Sign In to add comment