provider markdown POST /markdown
@utdk/github /markdown
Render a Markdown document
Depending on what is rendered in the Markdown, you may need to provide additional token scopes for labels, such as `issues:read` or `pull_requests:read`.

Try it

Authentication
Configure credentials for GitHub v3 REST API
markdown.render
POST/markdown
Depending on what is rendered in the Markdown, you may need to provide additional token scopes for labels, such as `issues:read` or `pull_requests:read`.

Input

required

The Markdown text to render in HTML.

The rendering mode.

The repository context to use when creating references in `gfm` mode. For example, setting `context` to `octo-org/octo-repo` will change the text `#42` into an HTML link to issue 42 in the `octo-org/octo-repo` repository.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.markdown.render({
  "mode": "markdown"
})