| @@ -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": "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": { |
| 11 | 11 | "type": "string" |
| 12 | 12 | }, |
| @@ -19,10 +19,9 @@ | ||
| 19 | 19 | "theme": { |
| 20 | 20 | "type": "string" |
| 21 | 21 | }, |
| 22 | 22 | "align": { |
| 23 | - "type": "string", | |
| 24 | - "default": "center" | |
| 23 | + "type": "string" | |
| 25 | 24 | }, |
| 26 | 25 | "bgColor": { |
| 27 | 26 | "type": "string", |
| 28 | 27 | "default": "#282a37" |
| @@ -30,15 +29,87 @@ | ||
| 30 | 29 | "textColor": { |
| 31 | 30 | "type": "string", |
| 32 | 31 | "default": "#f8f8f2" |
| 33 | 32 | }, |
| 33 | + "fontSize": { | |
| 34 | + "type": "string" | |
| 35 | + }, | |
| 36 | + "fontFamily": { | |
| 37 | + "type": "string" | |
| 38 | + }, | |
| 39 | + "lineHeight": { | |
| 40 | + "type": "string" | |
| 41 | + }, | |
| 34 | 42 | "lineNumbers": { |
| 35 | 43 | "type": "boolean" |
| 36 | 44 | }, |
| 45 | + "clampFonts": { | |
| 46 | + "type": "boolean" | |
| 47 | + }, | |
| 48 | + "editorHeight": { | |
| 49 | + "type": "string" | |
| 50 | + }, | |
| 51 | + "headerType": { | |
| 52 | + "type": "string" | |
| 53 | + }, | |
| 54 | + "footerType": { | |
| 55 | + "type": "string" | |
| 56 | + }, | |
| 57 | + "headerString": { | |
| 58 | + "type": "string" | |
| 59 | + }, | |
| 60 | + "disablePadding": { | |
| 61 | + "type": "boolean" | |
| 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 | + }, | |
| 37 | 87 | "startingLineNumber": { |
| 38 | 88 | "type": "number", |
| 39 | 89 | "default": 1 |
| 40 | 90 | }, |
| 91 | + "lineNumbersWidth": { | |
| 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" | |
| 111 | + }, | |
| 41 | 112 | "frame": { |
| 42 | 113 | "type": "boolean" |
| 43 | 114 | }, |
| 44 | 115 | "renderType": { |
| @@ -54,9 +125,12 @@ | ||
| 54 | 125 | } |
| 55 | 126 | }, |
| 56 | 127 | "supports": { |
| 57 | 128 | "html": false, |
| 58 | - "align": true | |
| 129 | + "align": [ | |
| 130 | + "wide", | |
| 131 | + "full" | |
| 132 | + ] | |
| 59 | 133 | }, |
| 60 | 134 | "textdomain": "code-block-pro", |
| 61 | 135 | "editorScript": "file:./index.js", |
| 62 | 136 | "editorStyle": "file:./index.css", |