summaryrefslogtreecommitdiffhomepage
path: root/haml.html.markdown
diff options
context:
space:
mode:
authorCameron Wood <github@cbwood.net>2015-10-13 14:07:04 -0400
committerCameron Wood <github@cbwood.net>2015-10-13 14:07:04 -0400
commit0ac8ac899b43eb017f8582d29bf7597fb2b285b1 (patch)
tree5d77057451ac78ac9e62da316c9d6066a7969412 /haml.html.markdown
parente32eb715ef41e411da0a91b40e6e35f150a9c2eb (diff)
parent59a07411effbd0ed6289e062621deb29fe8641a8 (diff)
Merge remote-tracking branch 'refs/remotes/adambard/master'
Diffstat (limited to 'haml.html.markdown')
-rw-r--r--haml.html.markdown25
1 files changed, 25 insertions, 0 deletions
diff --git a/haml.html.markdown b/haml.html.markdown
index 847714e6..0948e9ef 100644
--- a/haml.html.markdown
+++ b/haml.html.markdown
@@ -122,11 +122,36 @@ $ 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.
+/ -------------------------------------------
+/ Inserting Table with bootstrap classes
+/ -------------------------------------------
+
+%table.table.table-hover
+ %thead
+ %tr
+ %th Header 1
+ %th Header 2
+
+ %tr
+ %td Value1
+ %td value2
+
+ %tfoot
+ %tr
+ %td
+ Foot value
+
/ -------------------------------------------
/ Inline Ruby / Ruby interpolation