crystal-community / crystal-libraries-needed

A list of libraries that are needed or wanted for the Crystal-Language
141 stars 4 forks source link

HAML templating Shard #123

Open alexanderadam opened 9 months ago

alexanderadam commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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

HCLarsen commented 9 months ago

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

alexanderadam commented 9 months ago

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…".