| 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 |
|