test/syntax/source/code/haml
raw| 1 | !!! XML |
| 2 | %html |
| 3 | %body |
| 4 | %h1.jumbo{:id=>"a", :style=>'font-weight: normal', :title=>title} highlight.js |
| 5 | /html comment |
| 6 | -# ignore this line |
| 7 | %ul(style='margin: 0') |
| 8 | -items.each do |i| |
| 9 | %i= i |
| 10 | = variable |
| 11 | =variable2 |
| 12 | ~ variable3 |
| 13 | ~variable4 |
| 14 | The current year is #{DataTime.now.year}. |