Renders markdown into HTML and applies EJS templating.