Syntax highlighting not working

Hello,

I’ve spent the last few hours trying to get middleman syntax to work and can’t seem to get it working. I’ve tried using it with multiple versions of middleman and using multiple versions of middleman syntax with the multiple versions of middleman. Here is my config:

activate :syntax, :line_numbers => true
set :markdown_engine, :redcarpet
set :markdown, :fenced_code_blocks => true, :smartypants => true

This is how I’m using it in markdown:

def some_cool_method(message)
  puts message
end

It’s surrounded by a code fence but apparently that conflicts with the markdown renderer in this forum.

The markdown get’s rendered into a code block but the code isn’t surrounded by anything css styleable html. It’s basically a plain code block with the code inside. Any ideas as to what is happening? I’m getting super frustrated :frowning:

Ahh figured out that I had to change the extension to .md for it to work. Plain .markdown won’t work.