Include markdown templates in erb

I’m moving my blog over from Jekyll and trying to include a markdown file inside my /price erb page. Is there any easy way include markdown files as you do partials?

I was trying: price.html.md with: <% wrap_layout :layout do %> markdown here <% end %>

With a price.html.erb : ```<%= include “partials/price.html” %>````

It’s not working. Is there a markdownify for middleman like there is for jekyll does {% markdown samples-5.md %}?

Figured it out. Remove .html. Middleman will convert markdown files with file extensions. markdown-file.html.md will become markdown-file.html but you do not need to include the compiled file extension name in your include.