PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.5.2
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.5.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 3.5.2 All 199 releases
betterdocs / assets / blocks / code-snippet / block.json

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

61 lines 1.0 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 "showLanguageLabel": {
37 "type": "boolean",
38 "default": true
39 },
40 "showCopyButton": {
41 "type": "boolean",
42 "default": true
43 },
44 "showLineNumbers": {
45 "type": "boolean",
46 "default": false
47 },
48 "theme": {
49 "type": "string",
50 "default": "light"
51 }
52 },
53 "supports": {
54 "align": [
55 "wide",
56 "full"
57 ],
58 "html": false
59 }
60 }
61