Skip to content

Render a markup document as HTML

POST
/markup
Media type application/json

MarkupOption markup options

object
BranchPath

The current branch path where the form gets posted

string
Context

Context to render

string
FilePath

File path for detecting extension in file mode

string
Mode

Mode to render (comment, gfm, markdown, file)

string
Text

Text markup to render

string
Wiki

Is it a wiki page ?

boolean
Example generated
{
"BranchPath": "example",
"Context": "example",
"FilePath": "example",
"Mode": "example",
"Text": "example",
"Wiki": true
}

MarkupRender is a rendered markup document

Media type text/html
string

APIValidationError is error format response related to input validation

Media type text/html
object
message
string
url
string