app.offprint.block.codeBlock
Details · object
| Kind | object |
|---|---|
| Authority | block.offprint.app |
| Indexed |
Showing version bafyreicqbhzcfmelewe26sgolwkrdtovd3homwrfhleijqhmobxgpv6wnm. Show the latest
Checks
Validunlimited-stringdefs.main.properties.codeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.properties.languageNo maxLength, maxGraphemes or format limits this string.
{
"$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
}