Erb parsing issue when rendering markdown with Tilt

I have re-formulated my issue to make it clear what I am trying to achieve and what I have tried so far. New thread: Tilt preventing ERB processing when rendering markdown