blog.pckt.block.codeBlock

Preformatted code block with optional syntax highlighting.

Repository @pckt.blog did:plc:revjuqmkvrw6fnkxppqtszpv namespace authority
Details · object
Kindobject
Authorityblock.pckt.blog
Indexed
cid bafyreigx4rghnpdakkpiasd5o7tp4etbw5oc2g3ugs3u4fbofd2fmehbeu

Checks

Valid
  • unlimited-string defs.main.properties.plaintextNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "properties": {
        "language": {
          "description": "Programming language for syntax highlighting",
          "maxLength": 50,
          "type": "string"
        },
        "plaintext": {
          "description": "The code content",
          "type": "string"
        }
      },
      "required": [
        "plaintext"
      ],
      "type": "object"
    }
  },
  "description": "Preformatted code block with optional syntax highlighting.",
  "id": "blog.pckt.block.codeBlock",
  "lexicon": 1
}