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

HAML templating Shard #123

Open
alexanderadam opened this issue Jan 2, 2024 · 4 comments
Open

HAML templating Shard #123

alexanderadam opened this issue Jan 2, 2024 · 4 comments

Comments

@alexanderadam
Copy link

alexanderadam commented Jan 2, 2024

I just realised that it was the second tilt issue and nowadays even GoLang has HAML templating.

So I guess it would be nice if Crystal would also get HAML support, probably something similar to the Slang Shard or liquid.cr.

@ZimbiX
Copy link

ZimbiX commented Jan 3, 2024

Have you tried Lucky's HTML rendering? LuckyCasts intro, guide. I used to be a fan of HAML/Slim, but think this DSL-based approach is excellent, facilitating refactoring templates into methods

@Sija
Copy link
Collaborator

Sija commented Jan 3, 2024

@ZimbiX Thanks for mentioning, yet this repo is for the requests, so that's a bit off topic :)

@HCLarsen
Copy link

HCLarsen commented Jan 3, 2024

If someone makes a HAML library, they should call it "Mark HAML."

@alexanderadam
Copy link
Author

If someone makes a HAML library, they should call it "Mark HAML."

I like that. Maybe even with a slogan that says: "Come to the Mark(Up) side".
And the documentation could start with "How to become a HAML Jedi…".

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

No branches or pull requests

4 participants