Thanks. However, the IDs are still being generated. I’ve copied and pasted your code into my config.rb
(checked it, retyped it etc) and read the docs assiduously and just can’t work out what I’m doing wrong.
The config.rb
bundled with MM is largely unchanged. I’ve just added a few lines at the bottom of the file (see below). Is there a specific place in the config.rb
it needs to go? The IDs are being generated for markdown inputted directly into .md.haml
files as well as MD being drawn from .yml
files. Thanks again!
# Helpers
helpers do
def my_md(content)
Tilt['markdown'].new {content}.render
end
end
set :markdown_engine, :kramdown
set :markdown, :fenced_code_blocks => true, :smartypants => true, :auto_ids => false
# haml rules
set :haml, { :ugly => true, :format => :html5 }
# Prettify URLs
activate :directory_indexes
# Middleman blog
activate :blog
# Syntax highlighting
activate :syntax