Hacker GitHub

← All repos

slim-template/slim

View on GitHub ↗ ★ 5,370 Ruby

Slim is a template language whose goal is to reduce the syntax to the essential parts without becoming cryptic.

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2017-02-04 · latest 2023-10-06

Mentions per year 3 mentions · busiest year 2023 (2)
20082026
  1. …and Slim is just the name of the templating engine. It's a little nicer than the default ERB. https://github.com/slim-template/slim There's also SSR with react and other js frameworks, but I don't think that's what they meant.
    comment by groggo · 2023-10-06 · in Rails 7.1 Released
  2. …but I wouldn’t call this “simple” anymore. They use Jinja templating, I prefer Slim ( https://github.com/slim-template/slim#syntax-example ) which has a more Pythonic syntax (there is plim [0] in Python for that) I use Tailwind as well for…
  3. …of its incredibly clean and terse syntax. Now I feel cheated any time I need to write regular HTML. https://github.com/slim-template/slim/blob/master/README.md I used emmet for a while but slim improves on writing and reading code.
    comment by andrei_says_ · 2017-02-04 · in Foolproof HTML