summaryrefslogtreecommitdiff
path: root/test/syntax/code/haml
diff options
context:
space:
mode:
Diffstat (limited to 'test/syntax/code/haml')
-rw-r--r--test/syntax/code/haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/syntax/code/haml b/test/syntax/code/haml
new file mode 100644
index 00000000..fb4bab32
--- /dev/null
+++ b/test/syntax/code/haml
@@ -0,0 +1,14 @@
+!!! XML
+%html
+ %body
+ %h1.jumbo{:id=>"a", :style=>'font-weight: normal', :title=>title} highlight.js
+ /html comment
+ -# ignore this line
+ %ul(style='margin: 0')
+ -items.each do |i|
+ %i= i
+ = variable
+ =variable2
+ ~ variable3
+ ~variable4
+ The current year is #{DataTime.now.year}.