Comment body properties

The body of a comment can be written in GitHub Flavored Markdown. issues, issue comments, pull request comments, and the gist comments APIs all accept these same media types:

Raw

application/vnd.github.VERSION.raw+json

Return the raw markdown body. Response will include body. This is the default if you do not pass any specific media type.

Text

application/vnd.github.VERSION.text+json

Return a text only representation of the markdown body. Response will include body_text.

HTML

application/vnd.github.VERSION.html+json

Return HTML rendered from the body's markdown. Response will include body_html.

Full

application/vnd.github.VERSION.full+json

Return raw, text and HTML representations. Response will include body, body_text, and body_html: