I suppose you could use the Haml executable, by doing "haml --stdout index.haml", or if you don't have the Gem installed, "./vendor/plugins/haml/bin/haml --stdout index.haml". Personally, though, I think refreshing the browser is easier than either of those.
- Nathan rubdabadub wrote: > Hi: > > is there a way to test indentation/space for haml files. What i mean > is something like > at the prompt.. > > hamlsyntex index.haml > > output: > > line 8: Illegal indentation etc, etc > line 18: missing space, etc.. > line 22: etc.. etc.. > > I make mistakes but i like to know them ... before doing script/server > and finding it out via the browser that i screwed up :-) > > Is there something like that... > > Thanks > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
