alexluke / grunt-haml-php

Process HAML templates using MtHaml, a PHP port of Haml.
MIT License
9 stars 8 forks source link

Filters #12

Open gillesmk opened 10 years ago

gillesmk commented 10 years ago

Hi, I have issue using filters with the php convertor, it says javascript filters is missing and I see it loaded by default on the Haml/Enviroment class, even I create and link it manually. do I have to some thing in the grunt file ? Thanks for the tool.

alexluke commented 10 years ago

You don't need to do anything in the Gruntfile for the filters. As long as it's one of the default MtHaml filters it should just work.

Can you post the exact error message that you're getting?

sabau commented 9 years ago

Hi I would like to use the :coffee filter but I can't find a way to use it properly. I need just to compile haml files with some coffee scripts inside.

I get :

Error: Unknown filter name "coffee"

I tried to install via composer the dependency coffescript/coffeescript but then I don't see any way to use it properly.

It would be nice to have an option like enableDynamicAttributes that let you specify the coffeescript compiler path.

Thanks for the tool!