middleman / middleman-syntax

Code syntax highlighting plugin via Rouge for Middleman
https://middlemanapp.com
MIT License
179 stars 57 forks source link

Is it possible to use this in Markdown? #37

Closed kevinSuttle closed 10 years ago

kevinSuttle commented 10 years ago

For example: in a MD file, this renders literally.

<% code("ruby") do %>
def my_cool_method(message)
  puts message
end
<% end %>

Is there any way to compile it as if it were in HTML?

kevinSuttle commented 10 years ago

Nevermind, just saw this: https://github.com/middleman/middleman-syntax#markdown