| @@ -1,12 +1,12 @@ | ||
| 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": "1.2.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": { |
| 11 | 11 | "type": "string" |
| 12 | 12 | }, |
| @@ -42,21 +42,49 @@ | ||
| 42 | 42 | "lineNumbers": { |
| 43 | 43 | "type": "boolean" |
| 44 | 44 | }, |
| 45 | 45 | "clampFonts": { |
| 46 | - "type": "boolean", | |
| 47 | - "default": false | |
| 46 | + "type": "boolean" | |
| 48 | 47 | }, |
| 48 | + "editorHeight": { | |
| 49 | + "type": "string" | |
| 50 | + }, | |
| 49 | 51 | "headerType": { |
| 50 | 52 | "type": "string" |
| 51 | 53 | }, |
| 54 | + "footerType": { | |
| 55 | + "type": "string" | |
| 56 | + }, | |
| 52 | 57 | "headerString": { |
| 53 | 58 | "type": "string" |
| 54 | 59 | }, |
| 55 | 60 | "disablePadding": { |
| 56 | - "type": "boolean", | |
| 57 | - "default": false | |
| 61 | + "type": "boolean" | |
| 58 | 62 | }, |
| 63 | + "footerString": { | |
| 64 | + "type": "string" | |
| 65 | + }, | |
| 66 | + "footerLink": { | |
| 67 | + "type": "string" | |
| 68 | + }, | |
| 69 | + "enableMaxHeight": { | |
| 70 | + "type": "boolean" | |
| 71 | + }, | |
| 72 | + "seeMoreType": { | |
| 73 | + "type": "string" | |
| 74 | + }, | |
| 75 | + "seeMoreString": { | |
| 76 | + "type": "string" | |
| 77 | + }, | |
| 78 | + "seeMoreAfterLine": { | |
| 79 | + "type": "string" | |
| 80 | + }, | |
| 81 | + "seeMoreTransition": { | |
| 82 | + "type": "boolean" | |
| 83 | + }, | |
| 84 | + "footerLinkTarget": { | |
| 85 | + "type": "boolean" | |
| 86 | + }, | |
| 59 | 87 | "startingLineNumber": { |
| 60 | 88 | "type": "number", |
| 61 | 89 | "default": 1 |
| 62 | 90 | }, |
| @@ -61,8 +89,26 @@ | ||
| 61 | 89 | "default": 1 |
| 62 | 90 | }, |
| 63 | 91 | "lineNumbersWidth": { |
| 64 | 92 | "type": "number" |
| 93 | + }, | |
| 94 | + "enableHighlighting": { | |
| 95 | + "type": "boolean" | |
| 96 | + }, | |
| 97 | + "lineHighlights": { | |
| 98 | + "type": "string" | |
| 99 | + }, | |
| 100 | + "lineHighlightColor": { | |
| 101 | + "type": "string" | |
| 102 | + }, | |
| 103 | + "enableBlurring": { | |
| 104 | + "type": "boolean" | |
| 105 | + }, | |
| 106 | + "lineBlurs": { | |
| 107 | + "type": "string" | |
| 108 | + }, | |
| 109 | + "removeBlurOnHover": { | |
| 110 | + "type": "boolean" | |
| 65 | 111 | }, |
| 66 | 112 | "frame": { |
| 67 | 113 | "type": "boolean" |
| 68 | 114 | }, |