dev.knotless.renderMarkdown

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "repo": {
              "description": "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.",
              "format": "at-uri",
              "type": "string"
            },
            "text": {
              "description": "The Markdown, as long as a comment's or a body's may be.",
              "maxLength": 20000,
              "type": "string"
            }
          },
          "required": [
            "text"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "html": {
              "description": "The HTML, as dev.knotless.getThread's comments carry it.",
              "type": "string"
            }
          },
          "required": [
            "html"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Markdown as this appview's pages show it once posted, for a preview of what is being written.",
  "id": "dev.knotless.renderMarkdown",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.renderMarkdown

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreibqgwuqskhgktn25caj7v7lxe6h6nabn5mfj6whfdmacut7ls5svm
Indexed At
2026-10-28 21:21 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.renderMarkdown

Lexicon Garden

@