Top "Slim-lang" questions

Slim is a lightweight template engine for Ruby whose goal is reduce the syntax to the essential parts without becoming cryptic.

Ruby Each loop in slim-lang

I want to be able to loop through an instance var through a javascript but I'm not quite sure how …

ruby-on-rails ruby slim-lang
Using tags such as bold or italic in slim?

Let's say I have this code in HTML: <p>Lorem ipsum, <b>volutpat</b>. …

html ruby slim-lang
How to add html-file with JavaScript code in template Slim?

There are HTML-file that contains JavaScript code. This JavaScript code loads an image and positioning it in a certain place. …

ruby-on-rails ruby haml slim-lang
How to put a hyperlink in the middle of a paragraph using the slim templating language?

How do you write the following in the slim templating language? <p>Join the <a href="">…

ruby templates slim-lang
Slim Line breaks and formatting

I am using slim for templating and ruby on rails(just started using them). The only problem I am facing …

ruby-on-rails slim-lang