| @@ -1,22 +1,46 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | 3 | "apiVersion": 2, |
| 4 | 4 | "name": "kevinbatdorf/code-block-pro", |
| 5 | - "version": "0.1.0", | |
| 6 | - "title": "Code Block Pro", | |
| 5 | + "version": "1.13.0", | |
| 6 | + "title": "Code Block Pro - Beautiful syntax highlighting", | |
| 7 | 7 | "category": "common", |
| 8 | - "description": "Code highlighting powered by the VS Code engine", | |
| 8 | + "description": "Code highlighting powered by the VS Code engine. No overhead.", | |
| 9 | 9 | "attributes": { |
| 10 | 10 | "code": { "type": "string" }, |
| 11 | 11 | "codeHTML": { "type": "string" }, |
| 12 | 12 | "language": { "type": "string" }, |
| 13 | 13 | "theme": { "type": "string" }, |
| 14 | - "align": { "type": "string", "default": "center" }, | |
| 14 | + "align": { "type": "string" }, | |
| 15 | 15 | "bgColor": { "type": "string", "default": "#282a37" }, |
| 16 | 16 | "textColor": { "type": "string", "default": "#f8f8f2" }, |
| 17 | + "fontSize": { "type": "string" }, | |
| 18 | + "fontFamily": { "type": "string" }, | |
| 19 | + "lineHeight": { "type": "string" }, | |
| 17 | 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 | + "footerLinkTarget": { "type": "boolean" }, | |
| 18 | 35 | "startingLineNumber": { "type": "number", "default": 1 }, |
| 36 | + "lineNumbersWidth": { "type": "number" }, | |
| 37 | + "enableHighlighting": { "type": "boolean" }, | |
| 38 | + "lineHighlights": { "type": "string" }, | |
| 39 | + "lineHighlightColor": { "type": "string" }, | |
| 40 | + "enableBlurring": { "type": "boolean" }, | |
| 41 | + "lineBlurs": { "type": "string" }, | |
| 42 | + "removeBlurOnHover": { "type": "boolean" }, | |
| 19 | 43 | "frame": { "type": "boolean" }, |
| 20 | 44 | "renderType": { "type": "string", "default": "code" }, |
| 21 | 45 | "label": { "type": "string", "default": "" }, |
| 22 | 46 | "copyButton": { "type": "boolean" } |
| @@ -22,9 +46,9 @@ | ||
| 22 | 46 | "copyButton": { "type": "boolean" } |
| 23 | 47 | }, |
| 24 | 48 | "supports": { |
| 25 | 49 | "html": false, |
| 26 | - "align": true | |
| 50 | + "align": ["wide", "full"] | |
| 27 | 51 | }, |
| 28 | 52 | "textdomain": "code-block-pro", |
| 29 | 53 | "editorScript": "file:./index.js", |
| 30 | 54 | "editorStyle": "file:./index.css", |