Created
December 16, 2010 05:07
-
-
Save datapimp/743056 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ 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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment