1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 14:56:54 +02:00

Merge pull request #1437 from chashmeetsingh/patch-7

Adding unordered/ordered list
This commit is contained in:
Levi Bostian
2015-10-12 23:07:14 -05:00

View File

@@ -123,6 +123,12 @@ $ haml input_file.haml output_file.html
if book do if book do
%p This is a book %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. Again, no need to add the closing tags to the block, even for the Ruby.
Indentation will take care of that for you. Indentation will take care of that for you.