Preprocess markdown in erb so that routes work. Fixes #434