Hey folks,
Is it possible to achieve Octopress style syntax highlighting in middleman? I can’t seem to find any docs on it.
I tried using middleman-syntax but I could’t even get it to work. I placed
<%= Rouge::Themes::Base16:Solarized.render(:scope => '.highlight') %>
in source/stylesheets/syntax.css.erb
and added
<%= stylesheet_link_tag "styles/syntax" %>
to my layout file but I got an error saying the render()
method could not be found
Any idea how to go about fixing this?
Cheers