Content-Type
header of text/plain
or text/x-markdown
) to this endpoint, rather than using JSON format. In raw mode, GitHub Flavored Markdown is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.curl --location --request POST 'https://api.github.com/markdown/raw' \
--header 'Content-Type: text/plain' \
--data-raw '{
"text": "Hello **world**"
}'
{}