Hi, Is there a way to insert haml into other haml? I could not see anything in the documentation. But then It struck me that maybe things like haml in rails and or sass / compass might already be doing something very much like that. For example the @import directive of SCSS. I cant imagine this hasnt been discussed before.
So to take some independent and self-contained fragment of haml (indent starting from column 0), and to insert at some specific point within a larger parent haml. Of course if these are 2 strings, we might parse the string for some @import token and insert the referenced string at that point. But with the appropriate indent added. Then parse the combined result in the same (parent) context. Its appealing to me, who is writing a generic html table builder for haml. To construct the html table is a complex business, and can benefit greatly from using haml. So what may be the obstacles to that? Best regards, dreamcat4 [email protected] -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
