PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.2
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.2
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 3.5.1 All 200 releases
betterdocs / assets / build / blocks / code-snippet / block.json

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

65 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",
5 "title": "BetterDocs Code Snippet",
6 "category": "betterdocs",
7 "description": "Insert stylized, language-aware code blocks with copy-to-clipboard functionality.",
8 "keywords": [
9 "code",
10 "snippet",
11 "syntax",
12 "highlight",
13 "programming",
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 "codeContent": {
29 "type": "string",
30 "default": ""
31 },
32 "language": {
33 "type": "string",
34 "default": "javascript"
35 },
36 "codeVariants": {
37 "type": "array",
38 "default": []
39 },
40 "showLanguageLabel": {
41 "type": "boolean",
42 "default": true
43 },
44 "showCopyButton": {
45 "type": "boolean",
46 "default": true
47 },
48 "showLineNumbers": {
49 "type": "boolean",
50 "default": false
51 },
52 "theme": {
53 "type": "string",
54 "default": "light"
55 }
56 },
57 "supports": {
58 "align": [
59 "wide",
60 "full"
61 ],
62 "html": false
63 }
64 }
65