comments

Preview a comment

Changed on

This endpoint allows the client to preview a comment's rendered HTML from Markdown without saving it.

post/api/comments/preview

Request

  • Base URL
    https://dev.to
  • Auth
    • API key in header api-key
    • or HTTP bearer

Request body

body_markdownstring

The comment body in Markdown format

Response

Rendered Comment Preview

processed_htmlstring

Changes