PluginProbe
Code Block Pro – Beautiful Syntax Highlighting / 1.9.0
Code Block Pro – Beautiful Syntax Highlighting v1.9.0
1.27.1 1.27.2 1.27.3 1.27.4 1.27.5 1.27.6 1.27.7 1.28.0 1.3.0 1.4.0 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.8.0 1.9.0 1.9.1 1.9.2 1.9.3 trunk 1.1.0 1.10.0 1.11.0 1.11.1 All 63 releases
code-block-pro / src / block.json

block.json in Code Block Pro – Beautiful Syntax Highlighting 1.9.0, at src/block.json

52 lines 2.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": 2,
4 "name": "kevinbatdorf/code-block-pro",
5 "version": "1.2.0",
6 "title": "Code Block Pro - Beautiful syntax highlighting",
7 "category": "common",
8 "description": "Code highlighting powered by the VS Code engine. No overhead.",
9 "attributes": {
10 "code": { "type": "string" },
11 "codeHTML": { "type": "string" },
12 "language": { "type": "string" },
13 "theme": { "type": "string" },
14 "align": { "type": "string" },
15 "bgColor": { "type": "string", "default": "#282a37" },
16 "textColor": { "type": "string", "default": "#f8f8f2" },
17 "fontSize": { "type": "string" },
18 "fontFamily": { "type": "string" },
19 "lineHeight": { "type": "string" },
20 "lineNumbers": { "type": "boolean" },
21 "clampFonts": { "type": "boolean" },
22 "headerType": { "type": "string" },
23 "footerType": { "type": "string" },
24 "headerString": { "type": "string" },
25 "disablePadding": { "type": "boolean" },
26 "footerString": { "type": "string" },
27 "footerLink": { "type": "string" },
28 "footerLinkTarget": { "type": "boolean" },
29 "startingLineNumber": { "type": "number", "default": 1 },
30 "lineNumbersWidth": { "type": "number" },
31 "enableHighlighting": { "type": "boolean" },
32 "lineHighlights": { "type":"string" },
33 "lineHighlightColor": { "type": "string" },
34 "enableBlurring": { "type": "boolean" },
35 "lineBlurs": { "type": "string" },
36 "removeBlurOnHover": { "type": "boolean" },
37 "frame": { "type": "boolean" },
38 "renderType": { "type": "string", "default": "code" },
39 "label": { "type": "string", "default": "" },
40 "copyButton": { "type": "boolean" }
41 },
42 "supports": {
43 "html": false,
44 "align": ["wide", "full"]
45 },
46 "textdomain": "code-block-pro",
47 "editorScript": "file:./index.js",
48 "editorStyle": "file:./index.css",
49 "style": "file:./style-index.css",
50 "viewScript": "file:./front/front.js"
51 }
52