app.offprint.block.codeBlock

Repository @offprint.app did:plc:pgjkomf37an4czloay5zeth6 namespace authority
Details · object
Kindobject
Authorityblock.offprint.app
Indexed
cid bafyreicqbhzcfmelewe26sgolwkrdtovd3homwrfhleijqhmobxgpv6wnm

Checks

Valid
  • unlimited-string defs.main.properties.codeNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.properties.languageNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "properties": {
        "code": {
          "description": "The code content",
          "type": "string"
        },
        "language": {
          "description": "Programming language for syntax highlighting",
          "type": "string"
        },
        "showLineNumbers": {
          "default": false,
          "description": "Whether to display line numbers",
          "type": "boolean"
        }
      },
      "required": [
        "code"
      ],
      "type": "object"
    }
  },
  "id": "app.offprint.block.codeBlock",
  "lexicon": 1
}