Markdown user middleware