Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails: integrate with Haml #3

Open
marnen opened this issue Feb 5, 2010 · 3 comments
Open

Rails: integrate with Haml #3

marnen opened this issue Feb 5, 2010 · 3 comments

Comments

@marnen
Copy link

marnen commented Feb 5, 2010

It would be really nice to be able to use Haml for template files. (Yes, I know it's an interpolation-based language, but the syntax is lots nicer than plain HTML.) The only Effigy+Haml solution I've seen is http://gist.github.com/261527, and I'm not sure how to generalize that to Rails.

@jferris
Copy link
Owner

jferris commented Mar 31, 2010

I understand the motivation here, but this isn't really something I'm interested in. I'd like to keep Effigy focused on plain HTML.

@marnen
Copy link
Author

marnen commented Mar 31, 2010

I don't see how supporting Haml would be at odds with this philosophy. Haml is really just HTML with fewer characters. Effigy would only have to support a subset of it -- basically, just the %tag syntax. And frankly, you'd reach more Rails developers if you did this. If there's some way I can help, let me know.

@jferris
Copy link
Owner

jferris commented Apr 7, 2010

If you want to put together a patch, I'd pull it in, as long as it doesn't considerably complicate the Rails template handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants