PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.3
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.3
4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 All 201 releases
betterdocs / assets / build / blocks / code-snippet-tab / block.json

block.json in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.3, at assets/build/blocks/code-snippet-tab/block.json

63 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "betterdocs/code-snippet-tab",
5 "title": "BetterDocs Code Snippet Tab",
6 "category": "betterdocs",
7 "description": "Show HTTP responses as status-code tabs (200, 404, …), each with a copyable code example.",
8 "keywords": [
9 "response",
10 "api",
11 "http",
12 "status",
13 "code",
14 "betterdocs"
15 ],
16 "textdomain": "betterdocs",
17 "attributes": {
18 "blockId": {
19 "type": "string"
20 },
21 "blockMeta": {
22 "type": "object"
23 },
24 "resOption": {
25 "type": "string",
26 "default": "Desktop"
27 },
28 "responses": {
29 "type": "array",
30 "default": [
31 {
32 "status": "200",
33 "language": "json",
34 "codeContent": "{\n \"success\": true\n}"
35 }
36 ]
37 },
38 "showCopyButton": {
39 "type": "boolean",
40 "default": true
41 },
42 "showHeader": {
43 "type": "boolean",
44 "default": true
45 },
46 "showLineNumbers": {
47 "type": "boolean",
48 "default": false
49 },
50 "theme": {
51 "type": "string",
52 "default": "light"
53 }
54 },
55 "supports": {
56 "align": [
57 "wide",
58 "full"
59 ],
60 "html": false
61 }
62 }
63