Move Markdown rendering out of Slim rendering

For better instrumentation and cleanliness.