I'm wondering about using Redcarpet's :with_toc_data option for Markdown working with Middleman (a Sinatra-based static site generator).
Our current config.rb:
set :markdown, :layout_engine => :haml
set :markdown_engine, :redcarpet
This doesn't work:
set :markdown, :layout_engine => :haml, :with_toc_data => true
set :markdown_engine, :redcarpet
Any help is very appreciated!
Fixed in Middleman 3.0 by Thomas Reynolds: https://github.com/middleman/middleman/issues/442