Kramdown options within Haml filter

Hi, I am using kramdown within haml via

gem kramdown-haml

Kramdown offers some options, but I do not know how to include them in the config.rb from middleman? Especially I would like to use the auto_id_prefix option. It would be nice, if someone could help.

By the way, using the Markdown options, such as

set :markdown, :auto_id_prefix => ‘01_’

does not work, since they do not relate to the haml filters.

Thanks a lot.

1 Like

I know this was a while ago, but I’d be very keen to hear if there’s a solution… Thanks

No, unfortunately not. It would be ideal to have a means to specify all options for Kramdown in the config. But as you also noticed, the options in the config.rb are not passed on.

Here is some more info, that you might be interested:

Github issue. Cheers.

Ah, ok. Seems I read the responses in the wrong order. That’s somewhat frustrating, but thanks for pointing me towards the GitHub issue. {::options auto_ids="false"/} will have to do in the interim