I just discovered Middleman and it looks great, but I have some config issues that already cost me plenty of time. But I think the combination of being able to write HAML plus defining custom helpers should soo make up for it. I really hope I can get some quick help here:
I want to use it to render presentation slides in conjunction with reveal.js.
Issues so far:
-
both Middleman and reveal.js handle Markdown. I want to turn Middleman’s Markdown renderer off. The dev-server config info page tells me that it is turned on, but I couldn’t find any info at all how to turn it off. I tried:
set :markdown_renderer, nil
and
set :markdown_renderer, false
-
The dev-server doesn’t serve static files that I placed in the build folder manually. I copied the reveal.js assets into my build folder within a folder
reveal_js/
and protected them from being cleaned via
set :skip_build_clean, Proc.new { 'reveal_js/*' }
Why does the dev-server not simply serve all content from the build folder? If that’s not possible due to some technical reason (e.g. watching the sources for changes and hotreloading), then can I at least configure a static asset folder manually?