I'm using the gem "redcarpet". And I have a markdown file. I want to be able to render it with some ruby variables. Something like this:
# my_file.md
###Something
fdafdsfdsfds
---
<% for n in my_numbers do %>
<%= n %>
<% end %>
What's the proper way to do something like this? How can I pass and render a ruby variable?