I want to have some of my partials as markdown snippets. What is the easiest way to render them using the standard rails erb templating?
Ideally, I\'d like to do so
Not a pure markdown solution but you can use HAML filters to render markdown, as well as other markup languages.
For example, in app/views/_my_partial.html.haml:
app/views/_my_partial.html.haml
:markdown My awesome view =============== Look, I can **use** #{language}!