Pretty output with Slim templates

308 views
Skip to first unread message

webinetics

unread,
Aug 14, 2011, 5:20:57 AM8/14/11
to middleman-users
How do I get Middleman to create "pretty" (nested) output when using
Slim templates?

Thomas Reynolds

unread,
Aug 14, 2011, 3:52:49 PM8/14/11
to middlem...@googlegroups.com
In your config.rb:

  set :slim, :pretty => true

-Thomas

Isa Goksu

unread,
Sep 24, 2011, 3:45:38 AM9/24/11
to middleman-users
This doesn't seem to work.. Neither with 'middleman server' nor after
building the site. What am I doing wrong? My config.rb is below:

set :slim, :pretty => true
use Rack::Codehighlighter, :ultraviolet, :theme => "idle", :element =>
"pre", :pattern => /\A::([-_+\w]+)::\s*/
configure :build do
activate :minify_css
activate :minify_javascript
activate :cache_buster
activate :directory_indexes
end
Reply all
Reply to author
Forward
0 new messages