|24 days ago||about 1 month ago|
|BSD 3-clause "New" or "Revised" License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Template Engine with percent sign in Rails?
1 project | reddit.com/r/rubyonrails | 5 Jul 2022
You may want to checkout slim I'v tried ERB, SLIM, and HAML and absolutely sware by slim it's very easy to use and saves a ton of typing compared to ERB.
Styling Simple Form forms with Tailwind
4 projects | dev.to | 20 Jun 2022
This config sets a ”medium“ font weight for our form labels by default. Now, suppose we want a specific input’s label to be bold instead, we might want to try the following naive approach (we’re using the Slim template notation here):
From HTML to Simple Form: anatomy of Rails forms
1 project | dev.to | 17 Jun 2022
This HTML may be equally coded in a template (we use a Slim template syntax here) like this:
Am I the only one who takes top priority in code neatness? Even if the code works, I HAVE to make it look neat. It absolutely must look neat in my mind. I cant really work peacefully if the code isnt neat. It just has to be neat. Does anyone else feel this way?
2 projects | reddit.com/r/webdev | 8 May 2022
DAE dislike ERB?
1 project | reddit.com/r/rails | 6 Feb 2022
We’ve been allergic to ERb for years now. After a brief use relationship with Haml, we’ve standardised on Slim. Readable, easy to use, and we haven’t yet run into markup we couldn’t express easily. Try it.
Indenting ERB within HTML and using <%-
1 project | reddit.com/r/rails | 6 Jan 2022
Try Slim: "Slim - A Fast, Lightweight Template Engine for Ruby" http://slim-lang.com
Ask HN: What is your preferred stack and why?
1 project | news.ycombinator.com | 9 Dec 2021
I meant http://slim-lang.com/
Never close another HTML tag again, never type or read a single character while writing clean compliant solid html.
Form error in a rails view
2 projects | reddit.com/r/rails | 10 Nov 2021
Consider slim: "Slim - A Fast, Lightweight Template Engine for Ruby" http://slim-lang.com and simple_form "GitHub - heartcombo/simple_form: Forms made easy for Rails! It's tied to a simple DSL, with no opinion on markup." https://github.com/heartcombo/simple_form
Tailwind CSS class sorter – the custom way
5 projects | dev.to | 21 Sep 2021
There are quite a few good ones already but, as it turned out, we hit one blocker or another with each of them. Our biggest issue was that we use Slim in our project, a template format which most of the tools don’t support.
The KDL Document Language
11 projects | news.ycombinator.com | 13 Sep 2021
reminds me of slim templates, but not just Ruby
What are some alternatives?
Haml - HTML Abstraction Markup Language - A Markup Haiku
Liquid - Liquid markup language. Safe, customer facing template language for flexible web apps.
Hamlit - High Performance Haml Implementation
Tilt - Generic interface to multiple Ruby template engines
tachyons - Functional css for humans
Sanitize - Ruby HTML and CSS sanitizer.
Curly - The Curly template language allows separating your logic from the structure of your HTML templates.
LaTeXML-Ruby - A Ruby wrapper for LaTeXML
Glimmer DSL for XML (& HTML) - Glimmer DSL for XML (& HTML)
Simple Form - Forms made easy for Rails! It's tied to a simple DSL, with no opinion on markup.
Arbre - An Object Oriented DOM Tree in Ruby