slim
slim copied to clipboard
Slim is a template language whose goal is to reduce the syntax to the essential parts without becoming cryptic.
Hi! In Debian, the testsuite of your gem is run without the bundler/setup part. Everything is working fine, except one single error with 4.1.0: ``` 1) Error: TestSlimCodeEvaluation#test_code_attribute_does_not_modify_argument: NameError: uninitialized...
Rails default branch is now main the build should reflect that adding the branch prevents the error, ``` Git error: command `git rev-parse --verify master` in directory /Users/hparker/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/cache/bundler/git/rails-fcf0202857b07db1a0f6220dae5ca99319ca0f32 has failed....
I would have guessed that placing a lambda call in a list iteration would resolve just like any other slim instruction, but I haven't been able to get it to...
I'm rolling my own static site generator with Slim and am struggling to pass content to the layout from the page using instance variables or `content_for`. Lifted some code from...
Hi, I noticed that Slim does not support Ruby 2.7+ `case/in` pattern matching. Then I saw on GitHub that there haven't been any commits to master since 2020, and not...
Only supported in Ruby 2.7+, and .travis.yml also runs tests in 2.6, so exclude the test in unsupported Rubies. We just looked for "when" and added "in" alongside it –...
Hi! Thank you for this excellent templating engine! It makes my every day better 😄 . It would be nice to allow putting white space before a pipe text like...
Adds support for the annotate_rendered_view_with_filenames configuration option added in Rails 6.1 as requested in and resolves #867. I tried a few different ways before coming to this. If there is...
Hello, Is there a way to convert dot shortcut classes `.my-class` to standard classes `class="my-class"`, and keep slim syntax ? Thanks a lot for your help
Could you please release the gem version that includes the `:hyphen_underscore_attrs` option?