GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Fork of nex3/haml
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/chriseppstein/haml.git
== docs in stable.


git-svn-id: svn://hamptoncatlin.com/haml/tags/stable@496 
7063305b-7217-0410-af8c-cdc13e5119b9
nex3 (author)
Sun Apr 15 18:22:23 -0700 2007
commit  f095ecf74003d5a6ab133a6c2cd10a09df72bb40
tree    7a550d0538a073b8968aca38903336e84ac203b9
parent  71d53fb7acf85a19170763106463e5b05933a337
...
524
525
526
 
 
 
 
 
 
 
 
 
 
 
 
 
 
527
528
529
...
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
0
@@ -524,6 +524,20 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
0
 # hi there reader!
0
 # yo
0
 # </p>
0
+#
0
+# You can also use two equal signs, <tt>==</tt>,
0
+# along with conventional Ruby string-embedding syntax
0
+# to easily embed Ruby code in otherwise static text.
0
+# For example:
0
+#
0
+# %p
0
+# == 1 + 1 = #{1 + 1}
0
+#
0
+# is compiled to:
0
+#
0
+# <p>
0
+# 1 + 1 = 2
0
+# </p>
0
 #
0
 # ==== -
0
 #

Comments

    No one has commented yet.