dev.knotless.renderMarkdown

Renders Markdown to HTML with the renderer the pages draw comments, issue and pull bodies with: raw HTML shown as text, bare web addresses made links, and relative links resolved inside the repository. Reads and fetches nothing, and needs no login. A procedure rather than a query, since the text may be long.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

repo

string · at-uri

The dev.knotless.repo record of the repository it is written in, as dev.knotless.getThread takes it: relative links resolve inside it. Without it, they resolve from the site's root.

text

requiredstring

The Markdown, as long as a comment's or a body's may be.

  • maxLength: 20000

Output

application/json

html

requiredstring

The HTML, as dev.knotless.getThread's comments carry it.