PluginProbe
Code Block Pro – Beautiful Syntax Highlighting / trunk
Code Block Pro – Beautiful Syntax Highlighting vtrunk
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 trunk, at src/block.json

67 lines 2.5 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": "kevinbatdorf/code-block-pro",
5 "version": "1.13.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 "editorHeight": { "type": "string" },
23 "headerType": { "type": "string" },
24 "footerType": { "type": "string" },
25 "headerString": { "type": "string" },
26 "disablePadding": { "type": "boolean" },
27 "footerString": { "type": "string" },
28 "footerLink": { "type": "string" },
29 "enableMaxHeight": { "type": "boolean" },
30 "seeMoreType": { "type": "string" },
31 "seeMoreString": { "type": "string" },
32 "seeMoreAfterLine": { "type": "string" },
33 "seeMoreTransition": { "type": "boolean" },
34 "seeMoreCollapse": { "type": "boolean" },
35 "seeMoreCollapseString": { "type": "string" },
36 "footerLinkTarget": { "type": "boolean" },
37 "startingLineNumber": { "type": "number", "default": 1 },
38 "lineNumbersWidth": { "type": "number" },
39 "enableHighlighting": { "type": "boolean" },
40 "highlightingHover": { "type": "boolean" },
41 "lineHighlights": { "type": "string" },
42 "lineHighlightColor": { "type": "string" },
43 "enableBlurring": { "type": "boolean" },
44 "lineBlurs": { "type": "string" },
45 "removeBlurOnHover": { "type": "boolean" },
46 "frame": { "type": "boolean" },
47 "renderType": { "type": "string", "default": "code" },
48 "label": { "type": "string", "default": "" },
49 "copyButton": { "type": "boolean" },
50 "copyButtonType": { "type": "string" },
51 "copyButtonString": { "type": "string" },
52 "copyButtonStringCopied": { "type": "string" },
53 "copyButtonUseTextarea": { "type": "boolean", "default": false },
54 "tabSize": { "type": "number" },
55 "useTabs": { "type": "boolean" }
56 },
57 "supports": {
58 "html": false,
59 "align": ["wide", "full"]
60 },
61 "textdomain": "code-block-pro",
62 "editorScript": "file:./index.js",
63 "editorStyle": "file:./index.css",
64 "style": "file:./style-index.css",
65 "viewScript": "file:./front/front.js"
66 }
67