How to use sass/scss with slim

I’m migrating from jekyll to middleman and I’m looking for a way to use sass or scss inline.

Here is the post: https://github.com/adamwong246/adamwong246.github.io/blob/master-edit/_posts/2013-12-26-4th_freewall_experiment.slim

I can render css just fine but at line 8, middle man croaks.

Option :scss is not supported by Slim::Embedded::SassEngine

Any ideas on how to fix this?

It sounds like something in your config.rb might be messing things up, because that’s the same error I got due to a misconfiguration. For instance on stackoverflow.com it was recommended by someone to use set :slim, :layout_engine => :slim in your config file, but this caused an error for me and did nothing helpful. Your SCSS code looks fine.

Yes, adding that to my config.rb returns

Option :layout_engine is not supported by Slim::Engine