Install: $ gem install slim In your Gemfile (Rails) gem 'slim', :require => 'slim/rails' Options: # Output pretty (indented) format # For Rails, you'd probably want this line in # config/environments/development.rb Slim::Engine.set_default_options :pretty => true Just use the .slim extension on your templates and you're good to go. Now on to the syntax... Static content on same line: h1 This is my