rename endpoint to markdown_preview