Adding unordered/ordered list

This commit is contained in:
Chashmeet Singh 2015-10-10 14:38:50 +05:30
parent d8a1c0cf6a
commit bb68e9483d

View File

@ -123,6 +123,12 @@ $ haml input_file.haml output_file.html
if book do
%p This is a book
/ Adding ordered / unordered list
%ul
%li
=item1
=item2
/
Again, no need to add the closing tags to the block, even for the Ruby.
Indentation will take care of that for you.